public static Single ReadHalfFloat(Stream input, Endian endian) { ushort bits = StreamRW.ReadU16(input, endian); Half h = Half.ToHalf(bits); return((Single)h); }
public void WriteUnicodeNullTerminatedString(String text) { StreamRW.WriteUnicodeNullTerminatedString(_stream, text, _endian); }
public void WriteAnsiNullTerminatedString(String text) { StreamRW.WriteAnsiNullTerminatedString(_stream, text); }
public void WriteU8(byte value) { StreamRW.WriteU8(_stream, value); }
public void WriteS8(sbyte value) { StreamRW.WriteS8(_stream, value); }
public Single ReadSingle() { return(StreamRW.ReadSingle(_stream, _endian)); }
public void WriteDouble(double value) { StreamRW.WriteDouble(_stream, value, _endian); }
public void WriteU16(UInt16 value) { StreamRW.WriteU16(_stream, value, _endian); }
public String ReadUnicodeNullTerminatedString() { return(StreamRW.ReadUnicodeNullTerminatedString(_stream, _endian)); }
public Single ReadHalfFloat() { return(StreamRW.ReadHalfFloat(_stream, _endian)); }
public byte ReadU8() { return(StreamRW.ReadU8(_stream)); }
public sbyte ReadS8() { return(StreamRW.ReadS8(_stream)); }
public Double ReadDouble() { return(StreamRW.ReadDouble(_stream, _endian)); }
public UInt64 ReadU64() { return(StreamRW.ReadU64(_stream, _endian)); }
public UInt16 ReadU16() { return(StreamRW.ReadU16(_stream, _endian)); }
public void WriteU32(UInt32 value) { StreamRW.WriteU32(_stream, value, _endian); }
public void WriteSingle(Single value) { StreamRW.WriteSingle(_stream, value, _endian); }
public String ReadEncodedFixedString(int length, Encoding encoding) { return(StreamRW.ReadEncodedFixedString(_stream, length, encoding, _endian)); }
public void WriteU64(UInt64 value) { StreamRW.WriteU64(_stream, value, _endian); }
public String ReadEncodedNullTerminatedString(Encoding encoding) { return(StreamRW.ReadEncodedNullTerminatedString(_stream, encoding, _endian)); }
public String ReadUnicodeFixedString(int length) { return(StreamRW.ReadUnicodeFixedString(_stream, length, _endian)); }
public UInt32 ReadU32() { return(StreamRW.ReadU32(_stream, _endian)); }