org.bson.types
Class Binary

java.lang.Object
  extended by org.bson.types.Binary

public class Binary
extends Object

generic binary holder


Constructor Summary
Binary(byte type, byte[] data)
           
 
Method Summary
 byte[] getData()
           
 byte getType()
           
 int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binary

public Binary(byte type,
              byte[] data)
Method Detail

getType

public byte getType()

getData

public byte[] getData()

length

public int length()