SequoiaDB
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.bson.types.Binary Class Reference
Inheritance diagram for org.bson.types.Binary:

Public Member Functions

 Binary (byte[] data)
 
 Binary (byte type, byte[] data)
 
byte getType ()
 
byte[] getData ()
 
int length ()
 

Detailed Description

generic binary holder

Constructor & Destructor Documentation

org.bson.types.Binary.Binary ( byte[]  data)
inline

Creates a Binary object with the default binary type of 0

Parameters
dataraw data
org.bson.types.Binary.Binary ( byte  type,
byte[]  data 
)
inline

Creates a Binary object

Parameters
typetype of the field as encoded in BSON
dataraw data

The documentation for this class was generated from the following file: