public static class BinaryConstructor.BinaryBox extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
__setstate__(HashMap<String,Object> hm) |
Binary |
get() |
void |
readFields(DataInput in)
Inflate a BSONValueBox from a DataInput.
|
void |
write(DataOutput out)
Write a BSONValueBox type to a DataOutput.
|
public BinaryBox(String data, int type)
public Binary get()
public void readFields(DataInput in) throws IOException
readFields in interface Writablein - the DataInput.IOException - is always thrown when this method is called.public void write(DataOutput out) throws IOException
{"value": (boxed value)}
write in interface Writableout - the DataOutputIOException - when there is an error writing to the DataOutput