Class Bytes (2.27.0)

A representation of the Spanner BYTES type: variable-length binary data.

A Bytes value can be constructed from, and converted to any sequence of octets. Bytes values can be compared for equality.

Constructors

Bytes(InputIt, InputIt)

Construction from a sequence of octets.

Parameters
Name Description
first InputIt
last InputIt
typename InputIt

Bytes(Container const &)

Construction from a sequence of octets.

Parameters
Name Description
c Container const &
typename Container

Bytes()

An empty sequence.

Functions

get() const

Conversion to a sequence of octets.

The Container must support construction from a range specified as a pair of input iterators.

Parameter
Name Description
typename Container
Returns
Type Description
Container