public static UInt16 ReadUInt16(this BitStreamReader reader) { return((UInt16)BitConverterX.Int32ToUInt32(reader.ReadBits(16))); }
public static UInt32 ReadUInt32(this BitStreamReader reader) { return(BitConverterX.Int32ToUInt32(reader.ReadBits(32))); }
public static void WriteInt32(this BitStreamWriter writer, Int32 value) { writer.WriteBits(BitConverterX.Int32ToUInt32(value), 32); }