Exemplo n.º 1
0
 public void Write(short value)
 {
     Write(LittleConverter.GetBytes(value));
 }
Exemplo n.º 2
0
 public void Write(ulong value)
 {
     Write(LittleConverter.GetBytes(value));
 }
 public int ReadUint16()
 {
     return(LittleConverter.ToUInt16(ReadBytes(sizeof(ushort))));
 }
 public ulong ReadUInt64()
 {
     return(LittleConverter.ToUInt64(ReadBytes(sizeof(ulong))));
 }
 public long ReadInt64()
 {
     return(LittleConverter.ToInt64(ReadBytes(sizeof(long))));
 }
 public uint ReadUInt32()
 {
     return(LittleConverter.ToUInt32(ReadBytes(sizeof(uint))));
 }
 public int ReadInt32()
 {
     return(LittleConverter.ToInt32(ReadBytes(sizeof(int))));
 }