public ushort GetUShort() { ushort result = BitConverter.ToUInt16(_data, _position); _position += 2; return result; }
protected TProperty[] ReadArrayHelper(TClass inf, NetDataReader r) { ushort count = r.GetUShort(); var arr = GetterArr(inf); return(arr == null || arr.Length != count ? new TProperty[count] : arr); }