Class Bytes (2.19.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
NameDescription
first InputIt
last InputIt
typename InputIt

Bytes(Container const &)

Construction from a sequence of octets.

Parameters
NameDescription
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
NameDescription
typename Container
Returns
TypeDescription
Container