Skip to main content

readByte

Description​

Read a single byte from the data stream.

readByte(): number

Returns​

The value of the next byte or -1 if there is no more data.