public class BsonDecoder extends Object
| Constructor and Description |
|---|
BsonDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
decodeDocument(byte[] in) |
int |
decodeDocumentIn(Map<String,Object> ret,
byte[] in,
int startIndex) |
int |
readInt(byte[] bytes,
int idx) |
long |
readLong(byte[] bytes,
int idx) |
public Map<String,Object> decodeDocument(byte[] in) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int decodeDocumentIn(Map<String,Object> ret, byte[] in, int startIndex) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int readInt(byte[] bytes,
int idx)
public long readLong(byte[] bytes,
int idx)
Copyright © 2016. All rights reserved.