public class Bits extends Object
Constructor and Description |
---|
Bits() |
Modifier and Type | Method and Description |
---|---|
static void |
readFully(InputStream in,
byte[] b) |
static void |
readFully(InputStream in,
byte[] b,
int length) |
static void |
readFully(InputStream in,
byte[] b,
int startOffset,
int length) |
static int |
readInt(byte[] data) |
static int |
readInt(byte[] data,
int offset) |
static int |
readInt(InputStream in) |
static int |
readInt(InputStream in,
byte[] data) |
static int |
readIntBE(byte[] data,
int offset) |
static long |
readLong(byte[] data) |
static long |
readLong(byte[] data,
int offset) |
static long |
readLong(InputStream in) |
static long |
readLong(InputStream in,
byte[] data) |
public static void readFully(InputStream in, byte[] b) throws IOException
IOException
public static void readFully(InputStream in, byte[] b, int length) throws IOException
IOException
public static void readFully(InputStream in, byte[] b, int startOffset, int length) throws IOException
IOException
public static int readInt(InputStream in) throws IOException
IOException
public static int readInt(InputStream in, byte[] data) throws IOException
IOException
public static int readInt(byte[] data)
public static int readInt(byte[] data, int offset)
public static int readIntBE(byte[] data, int offset)
public static long readLong(InputStream in) throws IOException
IOException
public static long readLong(InputStream in, byte[] data) throws IOException
IOException
public static long readLong(byte[] data)
public static long readLong(byte[] data, int offset)