Bytes
type
returns
Getter
array<int>

Explanation

Returns the bytes in the given string as an array of character codes.

Examples

1
"foo".bytes == [102, 111, 111]
2
"".bytes == []
Copied!
Last modified 1yr ago
Copy link