public class NewBSONDecoder extends Object implements BSONDecoder
Constructor and Description |
---|
NewBSONDecoder() |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] b,
BSONCallback callback) |
int |
decode(byte[] b,
int offset,
BSONCallback callback) |
int |
decode(InputStream pIn,
BSONCallback pCallback) |
BSONObject |
readObject(byte[] pData) |
BSONObject |
readObject(byte[] b,
int offset) |
BSONObject |
readObject(InputStream pIn) |
public int decode(byte[] b, BSONCallback callback)
decode
in interface BSONDecoder
public int decode(byte[] b, int offset, BSONCallback callback)
decode
in interface BSONDecoder
public int decode(InputStream pIn, BSONCallback pCallback) throws IOException
decode
in interface BSONDecoder
IOException
public BSONObject readObject(byte[] pData)
readObject
in interface BSONDecoder
public BSONObject readObject(byte[] b, int offset)
readObject
in interface BSONDecoder
public BSONObject readObject(InputStream pIn) throws IOException
readObject
in interface BSONDecoder
IOException
Copyright © 2023. All rights reserved.