u8-ready? -- r7rs Definition predicate;
Procedure variants:
(() -> (boolean))
boolean;((binary-input-port-eof) -> (true))
binary-input-port-eof;true;((binary-input-port-open) -> (boolean))
binary-input-port-open;boolean;scheme:base -- (scheme base);scheme -- (scheme);(u8-ready?) (u8-ready? port)Returns
#tif a byte is ready on the binary inputportand returns#fotherwise. Ifu8-ready?returns#tthen the nextread-u8operation on the givenportis guaranteed not to hang. If theportis at end of file thenu8-ready?returns#t.
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.