hex.read_byte (arity 3)ΒΆ

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

SignatureΒΆ

def read_byte n, dst, ptr { ... }

Defined in hex/pointers/read_pointers.fj β€” lines 63–66 (view on GitHub).

ComplexityΒΆ

  • Time: n(w(0.75@+ 5) + 18@+27)

  • Space: n(w(1.13@+32) + 14@+127)

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

SourceΒΆ

Depends onΒΆ


← Previous: hex.read_byte_and_inc Next: hex.read_nth_hex β†’