MosText
The MosText object provides access to character-to-byte encoding and string formatting.
Methods
Name | Description |
asciiToBytes(inputString) | Converts input ASCII string to byte array. |
bytesToAscii(byteArray) | Converts input byte array to ASCII string. |
utf8ToBytes(inputString) | Converts input UTF8 string to byte array. |
bytesToUtf8(byteArray) | Converts input byte array to UTF8 string. |
utf16ToBytes(inputString) | Converts input UTF16 string to byte array. |
bytesToUtf16(byteArray) | Converts input byte array to UTF16 string. |
utf32ToBytes(inputString) | Converts input UTF32 string to byte array. |
bytesToUtf32(byteArray) | Converts input byte array into UTF32 string. |
format(inputString, args) | Formats string according to input format. Is a ported .NET String.Format function. |
Last updated