Exemple #1
0
 // for bookmarks
 internal void WriteNodeMasks(NodeMaskModule module)
 {
     myWriter.Write(module.Items.Count());
     foreach (var mask in module.Items.Reverse())
     {
         WriteNodeMask(mask);
     }
 }
Exemple #2
0
        // for bookmarks
        internal void ReadNodeMasks(NodeMaskModule module)
        {
            var count = myReader.ReadInt32();

            for (int i = 0; i < count; ++i)
            {
                module.Push(ReadNodeMask());
            }
        }