public class BasicBSONDecoder extends Object implements BSONDecoder
| 限定符和类型 | 类和说明 |
|---|---|
protected class |
BasicBSONDecoder.BSONInput |
| 限定符和类型 | 字段和说明 |
|---|---|
protected BSONCallback |
_callback |
protected BasicBSONDecoder.BSONInput |
_in |
protected int |
_len |
protected int |
_pos |
| 构造器和说明 |
|---|
BasicBSONDecoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
_binary(String name) |
int |
decode(byte[] b,
BSONCallback callback) |
int |
decode(byte[] b,
int offset,
BSONCallback callback) |
int |
decode(InputStream in,
BSONCallback callback) |
BSONObject |
readObject(byte[] b) |
BSONObject |
readObject(byte[] b,
int offset) |
BSONObject |
readObject(InputStream in) |
protected BSONCallback _callback
protected BasicBSONDecoder.BSONInput _in
protected int _len
protected int _pos
protected void _binary(String name) throws IOException
IOExceptionpublic int decode(byte[] b,
BSONCallback callback)
decode 在接口中 BSONDecoderpublic int decode(byte[] b,
int offset,
BSONCallback callback)
decode 在接口中 BSONDecoderpublic int decode(InputStream in, BSONCallback callback) throws IOException
decode 在接口中 BSONDecoderIOExceptionpublic BSONObject readObject(byte[] b)
readObject 在接口中 BSONDecoderpublic BSONObject readObject(byte[] b, int offset)
readObject 在接口中 BSONDecoderpublic BSONObject readObject(InputStream in) throws IOException
readObject 在接口中 BSONDecoderIOExceptionCopyright © 2021. All rights reserved.