public class

Bits

extends Object
java.lang.Object
   ↳ org.bson.io.Bits

Summary

Public Constructors
Bits()
Public Methods
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(InputStream in, byte[] data)
static int readInt(InputStream in)
static int readInt(byte[] data, int offset)
static int readIntBE(byte[] data, int offset)
static long readLong(InputStream in, byte[] data)
static long readLong(byte[] data, int offset)
static long readLong(byte[] data)
static long readLong(InputStream in)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Bits ()

Public Methods

public static void readFully (InputStream in, byte[] b)

Throws
IOException

public static void readFully (InputStream in, byte[] b, int length)

Throws
IOException

public static void readFully (InputStream in, byte[] b, int startOffset, int length)

Throws
IOException

public static int readInt (byte[] data)

public static int readInt (InputStream in, byte[] data)

Throws
IOException

public static int readInt (InputStream in)

Throws
IOException

public static int readInt (byte[] data, int offset)

public static int readIntBE (byte[] data, int offset)

public static long readLong (InputStream in, byte[] data)

Throws
IOException

public static long readLong (byte[] data, int offset)

public static long readLong (byte[] data)

public static long readLong (InputStream in)

Throws
IOException