bytes->trim
bytes->trim is a member in the Bytes Mutation group; call it on the receiver shown before the arrow.
Target
Signature
1bytes->trimbytes->trim is a member in the Bytes Mutation group; call it on the receiver shown before the arrow.
bytes->trim is called with member syntax on a receiver value. bytes->trim 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
1bytes->trimThe example keeps binary work on bytes and converts only when text output is needed.