public override void SerializeValue(ref byte[] dat, Pointer p) { BitPacker.AddInt(ref dat, p, m_Value.Length); for (int i = 0; i < m_Value.Length; i++) { BitPacker.AddString(ref dat, p, Name); BitPacker.AddShort(ref dat, p, m_Value[i]); } }
public override void SerializeValue(ref byte[] dat, Pointer p) { BitPacker.AddString(ref dat, p, Name); BitPacker.AddShort(ref dat, p, m_Value); }