Scheme 48 Manual -- Byte vectors

Scheme 48 Manual | Contents | In Chapter: Libraries
Previous: Bitwise integer operations | Next: Cells

## Byte vectors

These are homogeneous vectors of small integers (0 <= i <= 255). The functions that operate on them are analogous to those for vectors. They are in the structure `byte-vectors`.

- `(byte-vector? value) -> boolean`
- `(make-byte-vector k fill) -> byte-vector`
- `(byte-vector i ...) -> byte-vector`
- `(byte-vector-length byte-vector) -> integer`
- `(byte-vector-ref byte-vector k) -> integer`
- `(byte-vector-set! byte-vector k i)`

Previous: Bitwise integer operations | Next: Cells