bytes->marker

Reads or writes the marker position.

Target member

Signature

1bytes->marker

Reads or writes the marker position.

bytes->marker is called with member syntax on a receiver value. bytes->marker works with binary values. Convert strings to bytes before byte-level hashing or encoding, then convert back to a string only for display or transport.

Examples

Basic call

1local(b) = bytes('abc')2#b->marker = 1
The example keeps binary work on bytes and converts only when text output is needed.