public final class Utf8
extends java.lang.Object
| Constructor and Description |
|---|
Utf8() |
| Modifier and Type | Method and Description |
|---|---|
static int |
indexOf(byte[] needle,
byte[] haystack) |
static int |
indexOf(byte[] needle,
byte[] haystack,
int offset,
int length) |
static int |
indexOf(byte c,
byte[] haystack) |
static int |
indexOf(byte c,
byte[] haystack,
int offset,
int length) |
static int |
length(char[] c,
int length) |
static int |
length(java.lang.String s) |
static long |
parseLong(byte[] buf) |
static long |
parseLong(byte[] buf,
int offset,
int length) |
static java.lang.String |
read(byte[] buf,
int start,
int length) |
static java.lang.String |
read(java.lang.Object obj,
long start,
int length) |
static boolean |
startsWith(byte[] fragment,
byte[] buf) |
static boolean |
startsWith(byte[] fragment,
byte[] buf,
int offset) |
static boolean |
startsWith(byte[] fragment,
byte[] buf,
int offset,
int length) |
static byte[] |
toBytes(java.lang.String s) |
static java.lang.String |
toString(byte[] buf) |
static int |
write(char[] c,
int length,
byte[] buf,
int start) |
static int |
write(char[] c,
int length,
java.lang.Object obj,
long start) |
static int |
write(java.lang.String s,
byte[] buf,
int start) |
static int |
write(java.lang.String s,
int stringStart,
int maxChars,
byte[] buf,
int bufferStart) |
static int |
write(java.lang.String s,
int inStart,
int inCount,
java.lang.Object obj,
long outStart) |
static int |
write(java.lang.String s,
java.lang.Object obj,
long start) |
public static int length(java.lang.String s)
public static int length(char[] c,
int length)
public static int write(java.lang.String s,
byte[] buf,
int start)
public static int write(java.lang.String s,
int stringStart,
int maxChars,
byte[] buf,
int bufferStart)
public static int write(java.lang.String s,
java.lang.Object obj,
long start)
public static int write(java.lang.String s,
int inStart,
int inCount,
java.lang.Object obj,
long outStart)
public static int write(char[] c,
int length,
byte[] buf,
int start)
public static int write(char[] c,
int length,
java.lang.Object obj,
long start)
public static java.lang.String read(byte[] buf,
int start,
int length)
public static java.lang.String read(java.lang.Object obj,
long start,
int length)
public static byte[] toBytes(java.lang.String s)
public static java.lang.String toString(byte[] buf)
public static int indexOf(byte c,
byte[] haystack)
public static int indexOf(byte c,
byte[] haystack,
int offset,
int length)
public static int indexOf(byte[] needle,
byte[] haystack)
public static int indexOf(byte[] needle,
byte[] haystack,
int offset,
int length)
public static boolean startsWith(byte[] fragment,
byte[] buf)
public static boolean startsWith(byte[] fragment,
byte[] buf,
int offset,
int length)
public static boolean startsWith(byte[] fragment,
byte[] buf,
int offset)
public static long parseLong(byte[] buf)
public static long parseLong(byte[] buf,
int offset,
int length)