chickadee » scheme » base » get-output-bytevector

get-output-bytevector portprocedure

It is an error if port was not created with open-output-bytevector. Returns a bytevector consisting of the bytes that have been output to the port so far in the order they were output.