public final class UTF8Buffer extends Buffer
Constructor and Description |
---|
UTF8Buffer(Buffer other) |
UTF8Buffer(byte[] data) |
UTF8Buffer(byte[] data,
int offset,
int length) |
UTF8Buffer(String input) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Buffer other) |
static String |
decode(Buffer buffer) |
static byte[] |
encode(String value) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
static UTF8Buffer |
utf8(Buffer buffer) |
static UTF8Buffer |
utf8(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, writeTo
public UTF8Buffer(Buffer other)
public UTF8Buffer(byte[] data, int offset, int length)
public UTF8Buffer(byte[] data)
public UTF8Buffer(String input)
public int compareTo(Buffer other)
compareTo
in interface Comparable<Buffer>
compareTo
in class Buffer
public static UTF8Buffer utf8(String value)
public static UTF8Buffer utf8(Buffer buffer)
public static byte[] encode(String value)
Copyright © 2010–2021 FuseSource, Corp.. All rights reserved.