hex.write_byte (arity 2)ΒΆ

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

SignatureΒΆ

def write_byte ptr, src < hex.pointers.read_byte { ... }

Defined in hex/pointers/write_pointers.fj β€” lines 30–35 (view on GitHub).

ComplexityΒΆ

  • Time: w(0.75@+5)  + 17@+37

  • Space: w(0.75@+29) + 17@+200

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.zero_ptr Next: hex.write_hex_and_inc β†’