org.bson.io
Class Bits
java.lang.Object
org.bson.io.Bits
public class Bits
- extends Object
Constructor Summary |
Bits()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bits
public Bits()
readFully
public static void readFully(InputStream in,
byte[] b)
throws IOException
- Throws:
IOException
readFully
public static void readFully(InputStream in,
byte[] b,
int l)
throws IOException
- Throws:
IOException
readInt
public static int readInt(InputStream in)
throws IOException
- Throws:
IOException
readInt
public static int readInt(InputStream in,
byte[] data)
throws IOException
- Throws:
IOException
readInt
public static int readInt(byte[] data)
readInt
public static int readInt(byte[] data,
int offset)
readIntBE
public static int readIntBE(byte[] data,
int offset)
readLong
public static long readLong(InputStream in)
throws IOException
- Throws:
IOException
readLong
public static long readLong(InputStream in,
byte[] data)
throws IOException
- Throws:
IOException
readLong
public static long readLong(byte[] data)
readLong
public static long readLong(byte[] data,
int offset)