utf8-input-stream
2024-10-12
A UTF-8 string input stream over a binary stream for Common Lisp
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)))))