IBinReader Type
Provides an interface for reading byte sequences from a byte array (or a ByteSpan). The endianness is determined by the implementation of the interface.
Instance members
| Instance member |
Description
|
|
The endianness of this reader.
|
Full Usage:
this.ReadChars
Parameters:
ByteSpan
offset : int
size : int
Returns: char[]
Modifiers: abstract |
Reads a character array of `size` from the given byte span.
|
Full Usage:
this.ReadChars
Parameters:
byte[]
offset : int
size : int
Returns: char[]
Modifiers: abstract |
Reads a character array of size n from the given byte array.
|
Full Usage:
this.ReadInt16
Parameters:
ByteSpan
offset : int
Returns: int16
Modifiers: abstract |
|
Full Usage:
this.ReadInt16
Parameters:
byte[]
offset : int
Returns: int16
Modifiers: abstract |
Reads an int16 value from the given byte array.
|
Full Usage:
this.ReadInt32
Parameters:
ByteSpan
offset : int
Returns: int32
Modifiers: abstract |
|
Full Usage:
this.ReadInt32
Parameters:
byte[]
offset : int
Returns: int32
Modifiers: abstract |
Reads an int32 value from the given byte array.
|
Full Usage:
this.ReadInt32LEB128
Parameters:
ByteSpan
offset : int
Returns: int32 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte span. This function returns a tuple of (the decoded int32, and the count of how many bytes were read).
|
Full Usage:
this.ReadInt32LEB128
Parameters:
byte[]
offset : int
Returns: int32 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte array. This function returns a tuple of (the decoded int32, and the count of how many bytes were read).
|
Full Usage:
this.ReadInt64
Parameters:
ByteSpan
offset : int
Returns: int64
Modifiers: abstract |
|
Full Usage:
this.ReadInt64
Parameters:
byte[]
offset : int
Returns: int64
Modifiers: abstract |
Reads an int64 value from the given byte array.
|
Full Usage:
this.ReadInt64LEB128
Parameters:
ByteSpan
offset : int
Returns: int64 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte span. This function returns a tuple of (the decoded int64, and the count of how many bytes were read).
|
Full Usage:
this.ReadInt64LEB128
Parameters:
byte[]
offset : int
Returns: int64 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte array. This function returns a tuple of (the decoded int64, and the count of how many bytes were read).
|
Full Usage:
this.ReadInt8
Parameters:
ByteSpan
offset : int
Returns: int8
Modifiers: abstract |
|
Full Usage:
this.ReadInt8
Parameters:
byte[]
offset : int
Returns: int8
Modifiers: abstract |
Reads a single byte as an int8 from the given byte array.
|
Full Usage:
this.ReadUInt16
Parameters:
ByteSpan
offset : int
Returns: uint16
Modifiers: abstract |
|
Full Usage:
this.ReadUInt16
Parameters:
byte[]
offset : int
Returns: uint16
Modifiers: abstract |
Reads a uint16 value from the given byte array.
|
Full Usage:
this.ReadUInt32
Parameters:
ByteSpan
offset : int
Returns: uint32
Modifiers: abstract |
|
Full Usage:
this.ReadUInt32
Parameters:
byte[]
offset : int
Returns: uint32
Modifiers: abstract |
Reads a uint32 value from the given byte array.
|
Full Usage:
this.ReadUInt32LEB128
Parameters:
ByteSpan
offset : int
Returns: uint32 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte span. This function returns a tuple of (the decoded uint32, and the count of how many bytes were read).
|
Full Usage:
this.ReadUInt32LEB128
Parameters:
byte[]
offset : int
Returns: uint32 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte array. This function returns a tuple of (the decoded uint32, and the count of how many bytes were read).
|
Full Usage:
this.ReadUInt64
Parameters:
ByteSpan
offset : int
Returns: uint64
Modifiers: abstract |
|
Full Usage:
this.ReadUInt64
Parameters:
byte[]
offset : int
Returns: uint64
Modifiers: abstract |
Reads a uint64 value from the given byte array.
|
Full Usage:
this.ReadUInt64LEB128
Parameters:
ByteSpan
offset : int
Returns: uint64 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte span. This function returns a tuple of (the decoded uint64, and the count of how many bytes were read).
|
Full Usage:
this.ReadUInt64LEB128
Parameters:
byte[]
offset : int
Returns: uint64 * int
Modifiers: abstract |
Reads a LEB128-encoded integer from the given byte array. This function returns a tuple of (the decoded uint64, and the count of how many bytes were read).
|
Full Usage:
this.ReadUInt8
Parameters:
ByteSpan
offset : int
Returns: uint8
Modifiers: abstract |
Reads a single byte as a uint8 from the given byte array.
|
Full Usage:
this.ReadUInt8
Parameters:
byte[]
offset : int
Returns: uint8
Modifiers: abstract |
Reads a single byte as a uint8 from the given byte array.
|
B2R2