def byte

bend-kit-cbor@0.3.0.0 · cbor.bend:60

import bend-kit-cbor@0.3.0.0/cbor.bend as Cbor
import Base

60def byte(o: W, +b: U32) -> W:
61  W{buf, +cap, +n, +word} = o
62  +w = ((word >> 8n) .|. (b << 24n) : U32)
63  put(U32.is_eq((n .&. 3 : U32), 3), buf, cap, n, w)

Uses (8)

Used by (7)