Next: , Up: syslib bytevectors   [Index]


12.17.1 Constructors

Unsafe Operation: $make-bytevector fx

Allocate a new bytevector capable of holding fx bytes and return a reference to it. fx must be a non–negative fixnum.

Function: $subbytevector-u8 bv start end
Function: $subbytevector-s8 bv start end

Build and return a new bytevector holding octets or bytes from the bytevector bv starting from index start inclusive to index end exclusive.

Function: $subbytevector-u8/count bv start count
Function: $subbytevector-s8/count bv start count

Build and return a new bytevector holding count octets or bytes from the bytevector bv starting from index start inclusive.