bson v0.4.4 Bson.Bin

Represents Binary data

Summary

Functions

Retruns a struct Bson.Bin

Returns the subtype of the bynary data (Binary is the default). Other subtypes according to specs are

Returns the atom coresponding to the subtype of the bynary data

Functions

new(bin, subtype)

Retruns a struct Bson.Bin

subtyx(atom)

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
xsubty(int)

Returns the atom coresponding to the subtype of the bynary data