Vocabularyio.
encodings.
stringInputsbyte-array | a byte-array |
encoding | an encoding descriptor |
OutputsWord descriptionConverts an array of bytes to a string, interpreting that array of bytes as a string with the given encoding.
ExamplesUSING: io.encodings.string io.encodings.utf8 prettyprint ;
B{ 230 136 145 231 136 177 228 189 160 } utf8 decode .
"我爱你"
Definition