read-bytevector -- r7rs Definition procedure;
read-bytevector (from vonuvoli);Procedure variants:
((range-length-not-zero) -> (bytevector-not-empty-or-eof))
range-length-not-zero;bytevector-not-empty-or-eof;((range-length-not-zero binary-input-port-eof) -> (eof-object))
range-length-not-zero;binary-input-port-eof;eof-object;((range-length-not-zero binary-input-port-open) -> (bytevector-not-empty-or-eof))
range-length-not-zero;binary-input-port-open;bytevector-not-empty-or-eof;scheme:base -- (scheme base);scheme -- (scheme);(read-bytevector k) (read-bytevector k port)Reads the next
kbytes, or as many as are available before the end of file, from the binary inputportinto a newly allocated bytevector in left-to-right order and returns the bytevector. If no bytes are available before the end of file, an end-of-file object is returned.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.
range-length-not-zero;bytevector-not-empty-or-eof;binary-input-port-eof;eof-object;binary-input-port-open;