def set.u16be

bend-kit-bytes@0.3.3.0 · bytes.bend:223

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

223# v's low 16 or 32 bits at byte i. Nothing changes when they would run past len.
224def set.u16be(b: Bytes, +i: U32, +v: U32) -> Bytes:
225  put(b, i, 2, True{}, v)

Uses (4)

Used by (5)