public class Data extends Object
| Modifier and Type | Field and Description |
|---|---|
static char[] |
hexLookup |
static String |
LEFT |
static String |
RIGHT |
| Constructor and Description |
|---|
Data() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
concat(byte[] A,
byte[] B) |
static String |
copy(String value,
int copies) |
static byte[] |
copyOf(byte[] buffer,
int newLength) |
static byte[] |
copyOf(byte[] buffer,
int offset,
int length) |
static String |
decode(String urlString) |
static String |
formatHex(byte[] buffer,
int indentAmount) |
static Object |
formatHex(byte[] buffer,
int offset,
int length,
int indentAmount) |
static String |
formatHex(byte[] buffer,
int offset,
int length,
int maximumBytesPerLine,
int indentAmount,
String indentString,
String byteDelimiter,
String recordDelimiter,
boolean isFormatPrintables) |
static byte[] |
fromHex(String value) |
static String |
get(byte[] buffer,
int start,
int length,
Charset charset) |
static byte[] |
getBytes(String value,
Charset charset) |
static int |
lookup(char c) |
static String |
toHex(byte signedByte) |
static String |
toHex(byte[] buffer) |
static String |
toHex(byte[] buffer,
int start,
int length) |
static int |
toSigned(byte[] buffer,
int start,
int end) |
static byte[] |
toSignedLong(int value) |
static byte[] |
toSignedMedium(int value) |
static byte[] |
toSignedShort(int value) |
static Integer |
toUnsigned(byte[] buffer,
int start,
int end) |
static int |
toUnsignedByte(byte b) |
static byte[] |
toUnsignedByte(int value) |
static byte[] |
toUnsignedLong(int value) |
static byte[] |
toUnsignedMedium(int value) |
static int |
toUnsignedShort(byte[] buffer,
int offset) |
static byte[] |
toUnsignedShort(int value) |
public static final char[] hexLookup
public static final String LEFT
public static final String RIGHT
public static byte[] toSignedShort(int value)
public static byte[] toSignedMedium(int value)
public static byte[] toSignedLong(int value)
public static final int toUnsignedByte(byte b)
public static final byte[] toUnsignedByte(int value)
public static final int toUnsignedShort(byte[] buffer,
int offset)
public static final byte[] toUnsignedShort(int value)
public static byte[] toUnsignedMedium(int value)
public static byte[] toUnsignedLong(int value)
public static Integer toUnsigned(byte[] buffer, int start, int end)
public static int toSigned(byte[] buffer,
int start,
int end)
public static int lookup(char c)
public static byte[] fromHex(String value)
public static String toHex(byte signedByte)
public static String toHex(byte[] buffer)
public static String toHex(byte[] buffer, int start, int length)
public static String formatHex(byte[] buffer, int indentAmount)
public static Object formatHex(byte[] buffer, int offset, int length, int indentAmount)
public static String formatHex(byte[] buffer, int offset, int length, int maximumBytesPerLine, int indentAmount, String indentString, String byteDelimiter, String recordDelimiter, boolean isFormatPrintables)
public static byte[] copyOf(byte[] buffer,
int newLength)
public static byte[] copyOf(byte[] buffer,
int offset,
int length)
public static byte[] concat(byte[] A,
byte[] B)
Copyright © 2017. All rights reserved.