Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public override object Read(LiteBinaryReader reader)
 {
     return(reader.ReadByte());
 }