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
IOException
public int decode(byte[] b, BSONCallback callback)
decode
在接口中 BSONDecoder
public int decode(byte[] b, int offset, BSONCallback callback)
decode
在接口中 BSONDecoder
public int decode(InputStream in, BSONCallback callback) throws IOException
decode
在接口中 BSONDecoder
IOException
public BSONObject readObject(byte[] b)
readObject
在接口中 BSONDecoder
public BSONObject readObject(byte[] b, int offset)
readObject
在接口中 BSONDecoder
public BSONObject readObject(InputStream in) throws IOException
readObject
在接口中 BSONDecoder
IOException
Copyright © 2018. All rights reserved.