object UTF8String
- Companion:
- class
Value members
Concrete methods
Creates a UTF-8 string from a byte array.
Creates a UTF-8 string from a byte array.
The input byte array will be copied to ensure the immutability of
UTF8String
.
- Throws:
- java.lang.IllegalArgumentException
if the input byte array is not a valid UTF-8 string