def slice

bend-kit-json@0.7.0.0 · json.bend:293

import bend-kit-json@0.7.0.0/json.bend as Json
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

293# The n bytes from start, copied.
294def slice(+n: U32, +start: U32, a: Array<U32>) -> Array<U32> & Bytes.Bytes:
295  slice.of(n, Bytes.copy(n, a, Bytes.alloc(n), start, 0))

Uses (7)

Used by (2)