hex.write_hex_and_incΒΆ
Effectively: *ptr = src
ptr++
src is a hex. ptr is a hex[:w/4] that holds an address, which we assume is dw-aligned.
SignatureΒΆ
def write_hex_and_inc ptr, src { ... }
Defined in hex/pointers/write_pointers.fj β lines 49β52 (view on GitHub).
ComplexityΒΆ
Time:
w(0.75@+5) + 20@+39Space:
w(1.13@+32) + 16@+167
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def write_hex_and_inc ptr, src {
.write_hex ptr, src
.ptr_inc ptr
}
Depends onΒΆ
β Previous: hex.write_byte/2
Next: hex.write_hex/3 β