Methods
Inherited Variables
Defined by Input
Endianness (word byte order) used when reading numbers.
If true
, big-endian is used, otherwise little-endian
is used.
Inherited Methods
Defined by Input
Read and return nbytes
bytes.
Read and return all available data.
The bufsize
optional argument specifies the size of chunks by
which data is read. Its default value is target-specific.
Read len
bytes and write them into s
to the position specified by pos
.
Unlike readBytes
, this method tries to read the exact len
amount of bytes.
Read a 16-bit signed integer.
Endianness is specified by the bigEndian
property.
Read a 32-bit signed integer.
Endianness is specified by the bigEndian
property.
Read a line of text separated by CR and/or LF bytes.
The CR/LF characters are not included in the resulting string.
Read and len
bytes as a string.
Read a 16-bit unsigned integer.
Endianness is specified by the bigEndian
property.
Read a 24-bit unsigned integer.
Endianness is specified by the bigEndian
property.