public override object ReadFrom(LiteBinaryReader reader, object obj) { Byte[] array = (Byte[])obj; for (int i = 0; i < array.Length; i++) { array[i] = reader.ReadByte(); } return(array); }
public override object Read(LiteBinaryReader reader) { return(reader.ReadByte()); }