org.bson.io
Class Bits

java.lang.Object
  extended by org.bson.io.Bits

public class Bits
extends java.lang.Object


Constructor Summary
Bits()
           
 
Method Summary
static void readFully(java.io.InputStream in, byte[] b)
           
static void readFully(java.io.InputStream in, byte[] b, int l)
           
static int readInt(byte[] data)
           
static int readInt(java.io.InputStream in)
           
static int readInt(java.io.InputStream in, byte[] data)
           
static long readLong(byte[] data)
           
static long readLong(java.io.InputStream in)
           
static long readLong(java.io.InputStream in, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bits

public Bits()
Method Detail

readFully

public static void readFully(java.io.InputStream in,
                             byte[] b)
                      throws java.io.IOException
Throws:
java.io.IOException

readFully

public static void readFully(java.io.InputStream in,
                             byte[] b,
                             int l)
                      throws java.io.IOException
Throws:
java.io.IOException

readInt

public static int readInt(java.io.InputStream in)
                   throws java.io.IOException
Throws:
java.io.IOException

readInt

public static int readInt(java.io.InputStream in,
                          byte[] data)
                   throws java.io.IOException
Throws:
java.io.IOException

readInt

public static int readInt(byte[] data)

readLong

public static long readLong(java.io.InputStream in)
                     throws java.io.IOException
Throws:
java.io.IOException

readLong

public static long readLong(java.io.InputStream in,
                            byte[] data)
                     throws java.io.IOException
Throws:
java.io.IOException

readLong

public static long readLong(byte[] data)