Cyanide v0.5.1 Bson.Bin View Source
Represents Binary data
Link to this section Summary
Link to this section Functions
Link to this function
new(bin, subtype) View Source
Retruns a struct Bson.Bin
Link to this function
subtyx(atom) View Source
Returns the subtype of the bynary data (Binary
is the default). Other subtypes according to specs are:
:binary
- Binary / Generic:function
- Function:binary.Old
- Binary (Old):uuid_old
- UUID (Old):uuid
- UUID:md5
- MD5:usrer
- User defined
Link to this function
xsubty(int) View Source
Returns the atom coresponding to the subtype of the bynary data