bytes->append
Appends bytes or text.
Target
Signature
1bytes->append(rhs)Appends bytes or text.
bytes->append is called with member syntax on a receiver value. bytes->append 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.
Parameters
rhs- Required value. Supply
rhspositionally unless the signature shows a keyword form.
Examples
Basic call
1local(b) = bytes('a')2#b->append('b')The example keeps binary work on bytes and converts only when text output is needed.