(sigil bytes storage)

Shared byte-slice representation for the byte and socket libraries. Validate a slice before using the raw accessors below. Callers must keep borrowed storage alive and acquired throughout any suspended operation.

Exports

%byte-sliceprocedure

Construct a %byte-slice struct.

%byte-slice?procedure

Test if a value is a %byte-slice struct.

Get the buffer field of a %byte-slice struct.

Get the start field of a %byte-slice struct.

Get the capacity field of a %byte-slice struct.

Get the length field of a %byte-slice struct.

Get the lease field of a %byte-slice struct.

Get the active field of a %byte-slice struct.

Set the length field of a %byte-slice struct.

Set the active field of a %byte-slice struct.

(No description)