Binary reader. More...
Binary reader.
Public Member Methods | |
BinaryReader (Stream &stream) | |
Constructor. More... | |
bool | SkipByte () |
Skip byte. More... | |
bool | Read (Char8 &value) |
Reads. More... | |
bool | Read (BaseStaticString &value) |
Reads. More... | |
bool | Read (bool &value) |
Reads. More... | |
bool | Read (Int16 &value) |
Reads. More... | |
bool | Read (Int32 &value) |
Reads. More... | |
bool | Read (Float32 &value) |
Reads. More... | |
bool | Read (Float64 &value) |
Reads. More... | |
bool | EndOfStream () const |
Query if end of stream reached. More... | |
Int32 | GetPosition () const |
Gets the position. More... | |
BinaryReader | ( | Stream & | stream | ) |
Constructor.
stream | [in,out] The stream. |
bool EndOfStream | ( | ) | const |
Query if end of stream reached.
Int32 GetPosition | ( | ) | const |
Gets the position.
bool Read | ( | Char8 & | value | ) |
Reads.
value | [in,out] The returned character. |
bool Read | ( | BaseStaticString & | value | ) |
Reads.
value | [in,out] The returned character. |
bool Read | ( | bool & | value | ) |
Reads.
value | [in,out] The returned value. |
bool Read | ( | Int16 & | value | ) |
Reads.
value | [in,out] The returned value. |
bool Read | ( | Int32 & | value | ) |
Reads.
value | [in,out] The returned value. |
bool Read | ( | Float32 & | value | ) |
Reads.
value | [in,out] The returned value. |
bool Read | ( | Float64 & | value | ) |
Reads.
value | [in,out] The returned value. |
bool SkipByte | ( | ) |
Skip byte.