A PHP representation of the CQL blob datatype

Methods

__construct

( string $bytes )

Creates a new bytes array.

Parameters:
Name Type Details
$bytes string

any bytes

string

bytes

( )

Returns bytes as a hex string.

Returns:
Type Details
string

bytes as hexadecimal string

string

__toString

( )

Returns bytes as a hex string.

Returns:
Type Details
string

bytes as hexadecimal string

string

toBinaryString

( )

Returns bytes as a binary string.

Returns:
Type Details
string

bytes as binary string