def bytes.set

gralha-bytes@0.1.0.1 · bytes.bend:60

import gralha-bytes@0.1.0.1/bytes.bend as Bytes
import Base

60def bytes.set(+bytes: Bytes, +index: U32, v: U32) -> Bytes:
61  Bytes{bufTree, size, capacity} = bytes
62  Bytes{bytes.tree.set(bufTree, capacity, index, v), size, capacity}

Uses (3)

Used by (13)