tryPeekByte

fun tryPeekByte(): Int

Peek the next unsigned byte or return -1 if no more bytes available for reading. No bytes will be marked as consumed in any case.

Return an unsigned byte or -1 if not even a byte is available for reading.

See Also

tryReadByte

readByte