hex.read_byte (arity 2)ΒΆ

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

SignatureΒΆ

def read_byte dst, ptr { ... }

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

ComplexityΒΆ

  • Time: w(0.75@+ 5) + 9@+13

  • Space: w(0.75@+29) + 9@+72

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


← Previous: hex.read_hex/2 Next: hex.read_hex_and_inc β†’