def bytes.clone.pair

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:215

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

215def bytes.clone.pair(
216  +len: U32,
217  copied: Array<U32> & Array<U32>
218) -> Bytes.Bytes & Bytes.Bytes:
219  match copied:
220    case (left, right):
221      (Bytes.Bytes{len, left}, Bytes.Bytes{len, right})

Uses (5)

Used by (1)