A PHP representation of the CQL blob datatype

Implements

Methods

__construct

( string $bytes )

Creates a new bytes array.

Parameters:
Name Type Details
$bytes string

any bytes

string

__toString

( )

Returns bytes as a hex string.

Returns:
Type Details
string

bytes as hexadecimal string

Dse\Type

type

( )

The type of this blob.

Returns:
Type Details
Dse\Type
string

bytes

( )

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