public void insert(POIBeizerPath path)
        {
            paths.Add(path);
            numBeizerPath++;

            size += path.Size;
        }
        public override void deserialize(byte[] buffer, ref int offset)
        {
            size = fieldSize + MetadataSize;
            //size = fieldSize;

            base.deserialize(buffer, ref offset);
            deserializeInt32(buffer, ref offset, ref frameNum);
            deserializeInt32(buffer, ref offset, ref numBeizerPath);
            deserializeInt32(buffer, ref offset, ref numText);

            paths = new List<POIBeizerPath>();
            for (int i = 0; i < numBeizerPath; i++)
            {
                POIBeizerPath path = new POIBeizerPath();
                path.deserialize(buffer, ref offset);
                paths.Add(path);

                size += path.Size;
            }

            texts = new List<POITextComment>();
            for (int i = 0; i < numText; i++)
            {
                POITextComment text = new POITextComment();
                text.deserialize(buffer, ref offset);
                texts.Add(text);

                size += text.Size;
            }

            //Console.WriteLine("Size is " + size);
        }