binary.text()
Decodes bytes as UTF-8.
Signature
binary.text(packed)
Parameters
Any valid packed byte span.
Returns
String.
Behavior
Copies and validates all bytes.
Errors
Invalid UTF-8 or packed view.
Example
use binary
assert(binary.text(binary.utf8('๐')) == '๐')