Loading

->BIN


conversion binary
Since v1.0.6
Available on all platforms
See also

The ->BIN function converts the byte array or the string on top of the stack to its binary representation.

Applied on a string, ->BIN replaces 'utf-8' ->BYTES ->BIN

If the encoded content is not a valid UTF-8 representation, the resulting string will reflect that.

Signature

Examples

'Hello' ->BIN 'Hello' 'utf-8' ->BYTES ->BIN //same output