def cm.join_onto

bend-osdev-cipher-modes@0.1.0.0 · cipher_modes.bend:160

import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as CipherModes
import Base

160# the bytes of the blocks bs, in front of rest
161def cm.join_onto(bs: List<&2, CmBlock>, rest: List<&2, U32>) -> List<&2, U32>:
162  match bs:
163    case Nil{}:
164      rest
165    case Con{b, t}:
166      cm.bytes_onto(b, cm.join_onto(t, rest))

Uses (4)

Used by (20)