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