Package de.caluga.morphium.driver.bson
Klasse BsonDecoder
java.lang.Object
de.caluga.morphium.driver.bson.BsonDecoder
decoding BSON coming from mongodb
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdecodeDocument(byte[] in) static intdecodeDocumentIn(Map<String, Object> ret, byte[] in, int startIndex) static intreadInt(byte[] bytes, int idx) static longreadLong(byte[] bytes, int idx) static longreadLongBigEndian(byte[] bytes, int idx)
-
Konstruktordetails
-
BsonDecoder
public BsonDecoder()
-
-
Methodendetails
-
decodeDocument
- Löst aus:
UnsupportedEncodingException
-
decodeDocumentIn
public static int decodeDocumentIn(Map<String, Object> ret, byte[] in, int startIndex) throws UnsupportedEncodingException- Löst aus:
UnsupportedEncodingException
-
readInt
public static int readInt(byte[] bytes, int idx) -
readLongBigEndian
public static long readLongBigEndian(byte[] bytes, int idx) -
readLong
public static long readLong(byte[] bytes, int idx)
-