public final class DbfUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(byte[] arr,
byte value) |
static int |
parseInt(byte[] bytes)
parses only positive numbers
|
static int |
parseInt(byte[] bytes,
int from,
int to)
parses only positive numbers
|
static long |
parseLong(byte[] bytes)
parses only positive numbers
|
static long |
parseLong(byte[] bytes,
int from,
int to)
parses only positive numbers
|
static int |
readLittleEndianInt(java.io.DataInput in) |
static short |
readLittleEndianShort(java.io.DataInput in) |
static byte[] |
trimLeftSpaces(byte[] arr) |
public static int readLittleEndianInt(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic static short readLittleEndianShort(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic static byte[] trimLeftSpaces(byte[] arr)
public static boolean contains(byte[] arr,
byte value)
public static int parseInt(byte[] bytes)
bytes - bytes of string valuepublic static int parseInt(byte[] bytes,
int from,
int to)
bytes - bytes of string valuefrom - index to start fromto - index to end atpublic static long parseLong(byte[] bytes)
bytes - bytes of string valuepublic static long parseLong(byte[] bytes,
int from,
int to)
bytes - bytes of string valuefrom - index to start fromto - index to end at