Expand description
The submilli Uint8Array operations — the Rust port of the prelude’s
Uint8Array and Uint8ArrayConstructor surface. Bytes live as a Vec<u8>;
the higher-order methods box each byte into a $boxed_number before calling
back into a guest closure. The $Uint8Array marshalling and host-fn
registration live in install; the shared
Closure handles callbacks.
In-place mutators (reverse/fill/copyWithin/set/sort) overwrite the
receiver’s existing $rawUint8Array backing in place and return the
receiver: unlike $Array, the $Uint8Array struct’s field 1 is an immutable
reference, so the backing is never swapped.