def ob_word_got

gralha-byte-words@0.1.0.0 · words.bend:302

import gralha-byte-words@0.1.0.0/words.bend as Words
import Base

302def ob_word_got(r: Array<U32> & U32, +cap: U32, +pos: U32, +q: U32, +sh: U32, +v: U32) -> Sink:
303  (a, old) = r
304  Sink{ow_split(Array.set(U32, a, q, (old .|. U32.shln(v, U32.to_nat(sh)) : U32)), q, v, sh, U32.is_ne(sh, 0)), cap, (pos + 4 : U32)}

Uses (12)

Used by (1)