Next: SRFI-56 Bignum encodings, Previous: SRFI-56 Predefined write sizes, Up: SRFI-56
Read two bytes in network byte order from the current input port. Return an unsigned integer. Optional arg port specifies a port to read from, instead.
Read four bytes in network byte order from the current input port. Return an unsigned integer. Optional arg port specifies a port to read from, instead.
Read eight bytes in network byte order from the current input port. Return an unsigned integer. Optional arg port specifies a port to read from, instead.
Read two bytes in network byte order from the current input port. Return a signed integer. Optional arg port specifies a port to read from, instead.
Read four bytes in network byte order from the current input port. Return a signed integer. Optional arg port specifies a port to read from, instead.
Read eight bytes in network byte order from the current input port. Return a signed integer. Optional arg port specifies a port to read from, instead.
Write unsigned integer n as two bytes, in network byte order, to the current output port. Signal error if n is negative. Optional second arg port specifies a port to write to, instead.
Write unsigned integer n as four bytes, in network byte order, to the current output port. Signal error if n is negative. Optional second arg port specifies a port to write to, instead.
Write unsigned integer n as eight bytes, in network byte order, to the current output port. Signal error if n is negative. Optional second arg port specifies a port to write to, instead.
Write signed integer n as two bytes, in network byte order, to the current output port. Optional second arg port specifies a port to write to, instead.