Skip to main content
Version: Next

get_byte/2

Description

get_byte/2 is a predicate that reads a byte from a stream.

Signature

get_byte(+Stream, ?Byte)

Where:

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