public final class UTF8Buffer extends Buffer
| Constructor and Description |
|---|
UTF8Buffer(Buffer other) |
UTF8Buffer(byte[] data) |
UTF8Buffer(byte[] data,
int offset,
int length) |
UTF8Buffer(java.lang.String input) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Buffer other) |
static java.lang.String |
decode(Buffer buffer) |
static byte[] |
encode(java.lang.String value) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
static UTF8Buffer |
utf8(Buffer buffer) |
static UTF8Buffer |
utf8(java.lang.String value) |
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, writeTopublic UTF8Buffer(Buffer other)
public UTF8Buffer(byte[] data,
int offset,
int length)
public UTF8Buffer(byte[] data)
public UTF8Buffer(java.lang.String input)
public int compareTo(Buffer other)
public static UTF8Buffer utf8(java.lang.String value)
public static UTF8Buffer utf8(Buffer buffer)
public static byte[] encode(java.lang.String value)
public static java.lang.String decode(Buffer buffer)
Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.