utf8-input-stream

2024-10-12

A UTF-8 string input stream over a binary stream for Common Lisp

Upstream URL

Author

Vee Satayamas <[email protected]>

License

MIT
README

utf8-input-stream

A UTF-8 string input stream over a binary stream for Common Lisp

Example

(with-open-file (f #P"data.txt.zst" :direction :input :element-type '(unsigned-byte 8))
    (with-decompressing-stream (zstd-s f)
       (let ((s (make-utf8-input-stream zstd-s)))
	(print (read-line s))
	(print (read-line s)))))

Dependencies (4)

  • babel
  • fiveam
  • flexi-streams
  • trivial-gray-streams

Dependents (1)

  • GitHub
  • Quicklisp