Class UTF8Buffer
java.lang.Object
org.fusesource.hawtbuf.Buffer
org.fusesource.hawtbuf.UTF8Buffer
- All Implemented Interfaces:
Comparable<Buffer>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUTF8Buffer(byte[] data) UTF8Buffer(byte[] data, int offset, int length) UTF8Buffer(String input) UTF8Buffer(Buffer other) -
Method Summary
Modifier and TypeMethodDescriptionintstatic Stringstatic byte[]booleaninthashCode()////////////////////////////////////////////////////////////////toString()////////////////////////////////////////////////////////////////static UTF8Buffer////////////////////////////////////////////////////////////////static UTF8BufferMethods inherited from class Buffer
ascii, ascii, ascii, bigEndianEditor, buffer, clear, compact, contains, containsAt, data, deepCopy, equals, flip, get, getData, getLength, getOffset, hex, in, indexOf, indexOf, indexOf, indexOf, isEmpty, join, length, length, littleEndianEditor, moveHead, moveTail, offset, out, readFrom, readFrom, reset, slice, split, startsWith, string, toByteArray, toByteBuffer, trim, trimEnd, trimFront, utf8, writeTo, writeTo
-
Field Details
-
hashCode
int hashCode -
value
String value
-
-
Constructor Details
-
UTF8Buffer
-
UTF8Buffer
public UTF8Buffer(byte[] data, int offset, int length) -
UTF8Buffer
public UTF8Buffer(byte[] data) -
UTF8Buffer
-
-
Method Details
-
toString
-
compareTo
-
equals
-
hashCode
-
utf8
//////////////////////////////////////////////////////////////// -
utf8
-
encode
-
decode
-