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 |
---|---|
UTF8Buffer |
compact() |
int |
compareTo(Buffer other) |
static String |
decode(Buffer buffer) |
static byte[] |
encode(String value) |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public UTF8Buffer(Buffer other)
public UTF8Buffer(byte[] data, int offset, int length)
public UTF8Buffer(byte[] data)
public UTF8Buffer(String input)
public UTF8Buffer compact()
public int compareTo(Buffer other)
compareTo
in interface Comparable<Buffer>
compareTo
in class Buffer
public static byte[] encode(String value)
Copyright © 2015 The Apache Software Foundation. All rights reserved.