def cm.block_of

bend-osdev-mode-core@0.1.0.0 · mode_core.bend:141

import bend-osdev-mode-core@0.1.0.0/mode_core.bend as ModeCore
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

141# the block of the first 16 bytes of xs, zero-filled if xs is shorter
142def cm.block_of(xs: List<&2, U32>) -> CmBlock:
143  cm.block_of.full(B.append(B.take(16n, xs), B.zeros(16n)))

Uses (7)

Used by (10)