def u32.bytes

mylsm-lsm-store@0.6.0.1 · src/coordinator/CursorCodec.bend:14

import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

14# Encodes one exact byte offset and length into a fixed-width word.
15def u32.bytes(value: U32) -> Bytes.Bytes:
16  Bytes.set.u32be(Bytes.new(4), 0, value)

Uses (4)

Used by (2)