natix.CompactDS.InvIndexXLBSeq.Save C# (CSharp) Method

Save() public method

Save the index
public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void
        public void Save(BinaryWriter Output)
        {
            int vocsize = this.InvIndex.Length;
            Output.Write ((int)this.N);
            Output.Write ((int)vocsize);
            foreach (var L in this.InvIndex) {
                GenericIO<Bitmap>.Save (Output, L);
            }
            GenericIO<Bitmap>.Save (Output, this.Lens);
            this.Perm.Save (Output);
        }