@Deprecated
protected class BasicBSONDecoder.BSONInput
extends java.lang.Object
Constructor and Description |
---|
BasicBSONDecoder.BSONInput(java.io.InputStream in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
_isAscii(byte b)
Deprecated.
|
protected int |
_need(int num)
Deprecated.
ensure that there are num bytes to read
_pos is where to start reading from
|
void |
fill(byte[] b)
Deprecated.
|
void |
fill(byte[] b,
int len)
Deprecated.
|
int |
getMax()
Deprecated.
|
int |
getPos()
Deprecated.
|
int |
numRead()
Deprecated.
|
byte |
read()
Deprecated.
|
java.lang.String |
readCStr()
Deprecated.
|
double |
readDouble()
Deprecated.
|
int |
readInt()
Deprecated.
|
int |
readIntBE()
Deprecated.
|
long |
readLong()
Deprecated.
|
java.lang.String |
readUTF8String()
Deprecated.
|
void |
setMax(int _max)
Deprecated.
|
public BasicBSONDecoder.BSONInput(java.io.InputStream in)
protected int _need(int num) throws java.io.IOException
java.io.IOException
public int readInt() throws java.io.IOException
java.io.IOException
public int readIntBE() throws java.io.IOException
java.io.IOException
public long readLong() throws java.io.IOException
java.io.IOException
public double readDouble() throws java.io.IOException
java.io.IOException
public byte read() throws java.io.IOException
java.io.IOException
public void fill(byte[] b) throws java.io.IOException
java.io.IOException
public void fill(byte[] b, int len) throws java.io.IOException
java.io.IOException
protected boolean _isAscii(byte b)
public java.lang.String readCStr() throws java.io.IOException
java.io.IOException
public java.lang.String readUTF8String() throws java.io.IOException
java.io.IOException
public int numRead()
public int getPos()
public int getMax()
public void setMax(int _max)