peek_byte/[1,2]
[ISO]peek_byte(
-Byte)
peek_byte(
+Stream,
-Byte)
looks ahead for next input byte on the input stream Stream.
A valid input binary stream, defaults to the current input stream.
The resulting next input byte available on the stream.
peek_byte/[1,2]
looks ahead of the next input byte of the
specified input stream and unifies the byte with Byte.
The peeked byte is still available for subsequent input on the
stream.
Stream errors (see ref-iou-sfh-est), plus:
type_error
existence_error