Bytes
type
returns
Getter
array<int>
Explanation
Returns the bytes in the given string as an array of character codes.
Examples
"foo".bytes == [102, 111, 111]
"".bytes == []
Last updated
Was this helpful?
type
returns
Getter
array<int>
Returns the bytes in the given string as an array of character codes.
"foo".bytes == [102, 111, 111]
"".bytes == []
Last updated
Was this helpful?