Bitwise IO: Difference between revisions

Content added Content deleted
(→‎{{header|11l}}: new way of specifying file open mode)
m (→‎{{header|11l}}: `read_bytes_at_most(n)` -> `read_bytes(at_most' n)`)
Line 65: Line 65:
F _readbit()
F _readbit()
I .bcount == 0
I .bcount == 0
V a = .input.read_bytes_at_most(1)
V a = .input.read_bytes(at_most' 1)
I !a.empty
I !a.empty
.accumulator = a[0]
.accumulator = a[0]