BinReader abstracts away the process of reading byte sequences. This is the base class for BinReader, which has two kinds of implementations: little-endian and big-endian BinReader.
Constructor | Description |
|
|
Instance member | Description |
Full Usage:
this.Bytes
|
|
|
|
Full Usage:
this.IsOutOfRange(o)
Parameters:
int
Returns: bool
|
|
Full Usage:
this.Length()
Returns: int
|
|
Full Usage:
this.PeekByte(o)
Parameters:
int
Returns: byte
|
|
Full Usage:
this.PeekBytes(n, o)
Parameters:
int
o : int
Returns: byte[]
|
|
Full Usage:
this.PeekChars(n, o)
Parameters:
int
o : int
Returns: char[]
|
|
Full Usage:
this.PeekInt16(o)
Parameters:
int
Returns: int16
Modifiers: abstract |
|
Full Usage:
this.PeekInt32(o)
Parameters:
int
Returns: int32
Modifiers: abstract |
|
Full Usage:
this.PeekInt32LEB128(o)
Parameters:
int
Returns: int32 * int
|
Peek a LEB128-encoded integer at the given offset. This function returns a tuple of (the decoded int32, and the count of how many bytes were peeked).
|
Full Usage:
this.PeekInt64(o)
Parameters:
int
Returns: int64
Modifiers: abstract |
|
Full Usage:
this.PeekInt64LEB128(o)
Parameters:
int
Returns: int64 * int
|
Peek a LEB128-encoded integer at the given offset. This function returns a tuple of (the decoded int64, and the count of how many bytes were peeked).
|
Full Usage:
this.PeekInt8(o)
Parameters:
int
Returns: int8
|
|
|
|
|
|
|
|
Full Usage:
this.PeekUInt16(o)
Parameters:
int
Returns: uint16
Modifiers: abstract |
|
Full Usage:
this.PeekUInt32(o)
Parameters:
int
Returns: uint32
Modifiers: abstract |
|
Full Usage:
this.PeekUInt32LEB128(o)
Parameters:
int
Returns: uint32 * int
|
Peek a LEB128-encoded integer at the given offset. This function returns a tuple of (the decoded uint32, and the count of how many bytes were peeked).
|
Full Usage:
this.PeekUInt64(o)
Parameters:
int
Returns: uint64
Modifiers: abstract |
|
Full Usage:
this.PeekUInt64LEB128(o)
Parameters:
int
Returns: uint64 * int
|
Peek a LEB128-encoded integer at the given offset. This function returns a tuple of (the decoded uint64, and the count of how many bytes were peeked).
|
Full Usage:
this.PeekUInt8(o)
Parameters:
int
Returns: uint8
|
|
Full Usage:
this.ReadByte(o)
Parameters:
int
Returns: byte * int
|
|
Full Usage:
this.ReadBytes(n, o)
Parameters:
int
o : int
Returns: byte[] * int
|
Read a byte array of size n at the given offset. This function, unlike PeekBytes, will return the next offset.
|
Full Usage:
this.ReadChars(n, o)
Parameters:
int
o : int
Returns: char[] * int
|
Read a character array of size n at the given offset. This function, unlike PeekChars, will return the next offset.
|
Full Usage:
this.ReadInt16(o)
Parameters:
int
Returns: int16 * int
|
Read an int16 value at the given offset. This function, unlike PeekInt16, will return the next offset.
|
Full Usage:
this.ReadInt32(o)
Parameters:
int
Returns: int32 * int
|
Read an int32 value at the given offset. This function, unlike PeekInt32, will return the next offset.
|
Full Usage:
this.ReadInt32LEB128(o)
Parameters:
int
Returns: int32 * int
|
Read a LEB128-encoded integer into int32 at the given offset. This function, unlike PeekInt32LEB128, will return the next offset.
|
Full Usage:
this.ReadInt64(o)
Parameters:
int
Returns: int64 * int
|
Read an int64 value at the given offset. This function, unlike PeekInt64, will return the next offset.
|
Full Usage:
this.ReadInt64LEB128(o)
Parameters:
int
Returns: int64 * int
|
Read a LEB128-encoded integer into int64 at the given offset. This function, unlike PeekInt64LEB128, will return the next offset.
|
Full Usage:
this.ReadInt8(o)
Parameters:
int
Returns: int8 * int
|
Read an int8 value at the given offset. This function, unlike PeekInt8, will return the next offset.
|
Full Usage:
this.ReadUInt16(o)
Parameters:
int
Returns: uint16 * int
|
Read a uint16 value at the given offset. This function, unlike PeekUInt16, will return the next offset.
|
Full Usage:
this.ReadUInt32(o)
Parameters:
int
Returns: uint32 * int
|
Read a uint32 value at the given offset. This function, unlike PeekUInt32, will return the next offset.
|
Full Usage:
this.ReadUInt32LEB128(o)
Parameters:
int
Returns: uint32 * int
|
Read a LEB128-encoded integer into uint32 at the given offset. This function, unlike PeekUInt32LEB128, will return the next offset.
|
Full Usage:
this.ReadUInt64(o)
Parameters:
int
Returns: uint64 * int
|
Read a uint64 value at the given offset. This function, unlike PeekUInt64, will return the next offset.
|
Full Usage:
this.ReadUInt64LEB128(o)
Parameters:
int
Returns: uint64 * int
|
Read a LEB128-encoded integer into uint64 at the given offset. This function, unlike PeekUInt64LEB128, will return the next offset.
|
Full Usage:
this.ReadUInt8(o)
Parameters:
int
Returns: uint8 * int
|
Read a uint8 value at the given offset. This function, unlike PeekUInt8, will return the next offset.
|
|
Return a sub BinReader that serves a subset of the bytes starting at the offset (offset) and of the length (len).
|