public final class BSONWriter extends Object
BSONParser
Modifier and Type | Method and Description |
---|---|
static byte[] |
encode(List<?> data) |
static byte[] |
encode(Map<String,?> data) |
static void |
writeValue(byte type,
DataOutput output,
Object o) |
public static byte[] encode(Map<String,?> data) throws NullPointerException, IOException, NulCharacterInKeyException
public static byte[] encode(List<?> data) throws NullPointerException, IOException
NullPointerException
IOException
public static void writeValue(byte type, DataOutput output, Object o) throws IOException
IOException