The path to the file
Reads a 64-bit unsigned integer (biguint64) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 64-bit unsigned integer as a bigint
Reads a 64-bit unsigned integer (biguint64) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 64-bit unsigned integer as a bigint
Reads a 32-bit floating-point number (float32) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 32-bit floating-point number as a number
Reads a 64-bit floating-point number (float64) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 64-bit floating-point number as a number
Reads a signed 16-bit integer (int16) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 16-bit signed integer value as a number
Reads a signed 32-bit integer (int32) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 32-bit signed integer value as a number
Reads a signed byte (int8) at the given byteOffset
The position in the file to read from
The byte value as a signed number
Reads a range from the buffer
the offset of the range
the length of the range
Reads an unsigned 16-bit integer (uint16) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 16-bit unsigned integer value as a number
Reads an unsigned 32-bit integer (uint32) at the given byteOffset
The position in the file to read from
Optional, specifies if the value is stored in little-endian format. Defaults to false (big-endian).
The 32-bit unsigned integer value as a number
Reads a single byte at the given byteOffset
The position in the file to read from
The byte value as a number
Reads a string from the buffer
Start of the string
Length of the string
Set the current position of the cursor
where to adjust the current cursor
Fetch a slice at the current cursor position. The cursor is updated
size of the slice
Set the text decoder's encoding
update the text decoder's encoding
Get a slice of the file data as DataView
Beginning of the slice
End of the slice. If not provided, the end of the data is used
MMap Reader
Description
Reads data from a file implementing the Reader interface
Usage