Bivalent Streams
File-Position Issues:
- ANSI Common Lisp specifies that read-byte/ write-byte advance the file-position pointer exactly by “one”. Thus, as defined by ANSI, the file-position pointer does not necessarily correspond to the stream octet position.
- Example:
- Binary Stream with element-type (unsigned-byte 16): Each read-byte/write-byte advances file-position pointer by two octets.