def peek.of

bend-kit-bytes@0.3.3.0 · bytes.bend:41

import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import Base

41# Unchecked byte read and write. Callers keep i below len.
42def peek.of(+sh: Nat, r: Array<U32> & U32) -> Array<U32> & U32:
43  (a, w) = r
44  (a, b8(U32.shrn(w, sh)))

Uses (7)

Used by (1)