Пример #1
0
        public override void DeserializeValue(byte[] dat, Pointer p)
        {
            int num = BitPacker.GetInt(dat, p);

            m_Value = new short[num];
            for (int i = 0; i < num; i++)
            {
                Name       = BitPacker.GetString(dat, p);
                m_Value[i] = BitPacker.GetShort(dat, p);
            }
        }
Пример #2
0
 public override void DeserializeValue(byte[] dat, Pointer p)
 {
     Name    = BitPacker.GetString(dat, p);
     m_Value = BitPacker.GetShort(dat, p);
 }