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 int readInt(byte[] data)
           
static int readInt(java.io.InputStream in)
           
static long readLong(byte[] data)
           
static long readLong(java.io.InputStream in)
           
 
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

readInt

public static int readInt(java.io.InputStream in)
                   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(byte[] data)