Пример #1
0
 public long ReadIntLE(byte size) => BinaryConversion.ToSignedLE(BinaryConversion.GetLE(NonBlockingRead(size / 8u)), size);
Пример #2
0
 public long ReadInt64LE() => (long)BinaryConversion.GetLE(NonBlockingRead(8));
Пример #3
0
 public ulong ReadUIntLE(byte size) => BinaryConversion.GetLE(NonBlockingRead(size / 8u));
Пример #4
0
 public ulong ReadUInt64LE() => BinaryConversion.GetLE(NonBlockingRead(8));
Пример #5
0
 public int ReadInt32LE() => (int)BinaryConversion.GetLE(NonBlockingRead(4));
Пример #6
0
 public uint ReadUInt32BE() => (uint)BinaryConversion.GetBE(NonBlockingRead(4));
Пример #7
0
 public short ReadInt16LE() => (short)BinaryConversion.GetLE(NonBlockingRead(2));
Пример #8
0
 public ushort ReadUInt16BE() => (ushort)BinaryConversion.GetBE(NonBlockingRead(2));