Example usage for Java org.apache.hadoop.io UTF8 fields, constructors, methods, implement or subclass
The text is from its open source code.
UTF8(String string) Construct from a given string. | |
UTF8(UTF8 utf8) Construct from a given string. |
byte[] | getBytes() The raw bytes. |
int | getLength() The number of bytes in the encoded string. |
String | readString(DataInput in) Read a UTF-8 encoded string. |
int | writeString(DataOutput out, String s) Write a UTF-8 encoded string. |