MongoBinData
PHP Manual

MongoBinData::__construct

(PECL mongo >= 0.8.1)

MongoBinData::__constructCreates a new binary data object.

Description

MongoBinData::__construct ( string $data [, int $type ] )

Creates a new binary data object.

Parameters

data

Binary data.

int

Data type.

Return Values

Returns a new binary data object.


MongoBinData
PHP Manual