string_from_bytes
lib callCapy
function string_from_bytes(values : [u8]) string
Description
string_from_bytes() copies an array of bytes into one string value.
The function keeps zero bytes and byte values from 0 through 255. It does not decode the bytes as text.
Parameters
values : a byte array
Return Values
A string with the same bytes as values.
Example
Capy
var bytes : [u8] = [65, 66, 67] print(string_from_bytes(bytes), "\n")