Package de.bwaldvogel.mongo.wire.bson
Class BsonEncoder
- java.lang.Object
-
- de.bwaldvogel.mongo.wire.bson.BsonEncoder
-
public class BsonEncoder extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static bytedetermineType(java.lang.Object value)static voidencodeDocument(java.util.Map<java.lang.String,?> document, io.netty.buffer.ByteBuf out)static voidencodeValue(byte type, java.lang.Object value, io.netty.buffer.ByteBuf buffer)
-
-
-
Method Detail
-
encodeDocument
public static void encodeDocument(java.util.Map<java.lang.String,?> document, io.netty.buffer.ByteBuf out)
-
encodeValue
public static void encodeValue(byte type, java.lang.Object value, io.netty.buffer.ByteBuf buffer)
-
determineType
public static byte determineType(java.lang.Object value)
-
-