FUNCTION

text.encode

pure function encode(): byte_array

Deprecated (for removal): Use 'to_bytes' instead

Converts this text to an array of UTF-8 encoded bytes.

Since

0.9.0

Alias of text.to_bytes

© 2026 Chromia