| 
 | The MongoDB\BSON\Binary classIntroductionBSON type for binary data (i.e. array of bytes). Binary values also have a subtype, which is used to indicate what kind of data is in the byte array. Subtypes from zero to 127 are predefined or reserved. Subtypes from 128-255 are user-defined. Class synopsisMongoDB\BSON\Binary 
     final
     
      class MongoDB\BSON\Binary
     
     implements 
       MongoDB\BSON\BinaryInterface,  MongoDB\BSON\Type,  JsonSerializable,  Stringable { /* Constants */ 
     const
     int
     MongoDB\BSON\Binary::TYPE_GENERIC = 0; const
     int
     MongoDB\BSON\Binary::TYPE_FUNCTION = 1; const
     int
     MongoDB\BSON\Binary::TYPE_OLD_BINARY = 2; const
     int
     MongoDB\BSON\Binary::TYPE_OLD_UUID = 3; const
     int
     MongoDB\BSON\Binary::TYPE_UUID = 4; const
     int
     MongoDB\BSON\Binary::TYPE_MD5 = 5; const
     int
     MongoDB\BSON\Binary::TYPE_ENCRYPTED = 6; const
     int
     MongoDB\BSON\Binary::TYPE_COLUMN = 7; const
     int
     MongoDB\BSON\Binary::TYPE_SENSITIVE = 8; const
     int
     MongoDB\BSON\Binary::TYPE_USER_DEFINED = 128; /* Methods */ 
   final public  __construct(string  $data, int$type= MongoDB\BSON\Binary::TYPE_GENERIC)final public string getData() final public int getType() final public mixed jsonSerialize() final public string __toString()} Predefined Constants
 Changelog
 
 
 |