hex.zero_ptrΒΆ

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

SignatureΒΆ

def zero_ptr ptr < hex.pointers.read_byte { ... }

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

ComplexityΒΆ

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

  • Space: w(0.75@+29) + 15@+176

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.write_hex/2 Next: hex.write_byte/2 β†’