hex.write_byte (arity 3)¶

like:  *ptr[:n] = src[:2n]
src is a hex[:2n]. ptr is a hex[:w/4] that holds an address, which we assume is dw-aligned.

Signature¶

def write_byte n, ptr, src { ... }

Defined in hex/pointers/write_pointers.fj — lines 77–80 (view on GitHub).

Complexity¶

  • Time: n(w(0.75@+5)  + 26@+51)

  • Space: n(w(1.13@+32) + 22@+255)

See the complexity glossary for what @, w, dw, dbit, n mean.

Depends on¶