@Deprecated protected class BasicBSONDecoder.BSONInput extends Object
| Constructor and Description |
|---|
BasicBSONDecoder.BSONInput(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.
|
String |
readCStr()
Deprecated.
|
double |
readDouble()
Deprecated.
|
int |
readInt()
Deprecated.
|
int |
readIntBE()
Deprecated.
|
long |
readLong()
Deprecated.
|
String |
readUTF8String()
Deprecated.
|
void |
setMax(int _max)
Deprecated.
|
public BasicBSONDecoder.BSONInput(InputStream in)
protected int _need(int num)
throws IOException
IOExceptionpublic int readInt()
throws IOException
IOExceptionpublic int readIntBE()
throws IOException
IOExceptionpublic long readLong()
throws IOException
IOExceptionpublic double readDouble()
throws IOException
IOExceptionpublic byte read()
throws IOException
IOExceptionpublic void fill(byte[] b)
throws IOException
IOExceptionpublic void fill(byte[] b,
int len)
throws IOException
IOExceptionprotected boolean _isAscii(byte b)
public String readCStr() throws IOException
IOExceptionpublic String readUTF8String() throws IOException
IOExceptionpublic int numRead()
public int getPos()
public int getMax()
public void setMax(int _max)