Blob
final class Blob implements Value (View source)
A PHP representation of the CQL blob
datatype
Methods
__construct(string $bytes)
Creates a new bytes array.
string
__toString()
Returns bytes as a hex string.
string
bytes()
Returns bytes as a hex string.
string
toBinaryString()
Returns bytes as a binary string.
Details
__construct(string $bytes)
Creates a new bytes array.
string
__toString()
Returns bytes as a hex string.
Type
type()
The type of this blob.
string
bytes()
Returns bytes as a hex string.
string
toBinaryString()
Returns bytes as a binary string.