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