Skip to main content
Version: Next

peek_byte/2

Description

peek_byte/2 is a predicate that peeks at the next byte from a stream without consuming it.

Signature

peek_byte(+Stream, ?Byte)

Where:

  • Stream is the stream to peek from.
  • Byte is unified with the next byte (0-255).