Next: , Previous: , Up: stdlib io port   [Index]


5.8.2.11 Binary output

Procedure: put-u8 binary-output-port octet

Write octet to the output port and returns unspecified values.

Procedure: put-bytevector binary-output-port bytevector
Procedure: put-bytevector binary-output-port bytevector start
Procedure: put-bytevector binary-output-port bytevector start count

start and count must be non–negative exact integer objects that default to 0 and:

(- (bytevector-length bytevector) start)

respectively. bytevector must have a length of at least start+count. The put-bytevector procedure writes the count bytes of the bytevector bytevector starting at index start to the output port. The put-bytevector procedure returns unspecified values.