chickadee » srfi-158 » bytevector-accumulator

bytevector-accumulatorprocedure

Returns an accumulator that, when invoked on a byte, adds that integer to a bytevector inside the accumulator in order of accumulation and returns an unspecified value. However, if an end-of-file object is passed, the accumulator returns the bytevector.