public final class Utf8 extends 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(String s) |
static long |
parseLong(byte[] buf) |
static long |
parseLong(byte[] buf,
int offset,
int length) |
static String |
read(byte[] buf,
int start,
int length) |
static String |
read(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(String s) |
static String |
toString(byte[] buf) |
static int |
write(char[] c,
int length,
byte[] buf,
int start) |
static int |
write(char[] c,
int length,
Object obj,
long start) |
static int |
write(String s,
byte[] buf,
int start) |
static int |
write(String s,
Object obj,
long start) |
public static int length(String s)
public static int length(char[] c,
int length)
public static int write(String s, byte[] buf, int start)
public static int write(char[] c,
int length,
byte[] buf,
int start)
public static String read(byte[] buf, int start, int length)
public static int write(char[] c,
int length,
Object obj,
long start)
public static byte[] toBytes(String s)
public static 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)
Copyright © 2019. All rights reserved.