MongoDB\BSON\PackedArray::serialize
Serialize a BSON array
Description
final public string MongoDB\BSON\PackedArray::serialize()
Parameters
This function has no parameters.
Return Values
Returns the serialized representation of the
MongoDB\BSON\PackedArray.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.