class Bytes

Defined at line 23 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

Bytes is a wrapper around std::vector

<uint8

_t> that provides list

initialization which automatically flattens nested Bytes values.

Public Methods

void Bytes (std::vector<uint8_t> data)

Defined at line 25 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

void Bytes (std::initializer_list<uint8_t> data)

Defined at line 26 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

void Bytes (std::initializer_list<Bytes> bytes)

Defined at line 27 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

size_t size ()

Defined at line 33 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

const uint8_t * data ()

Defined at line 34 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

bool operator== (const Bytes & rhs)

Defined at line 36 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

bool operator!= (const Bytes & rhs)

Defined at line 37 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h

zx_txid_t & txid ()

Returns the first four bytes interpreted as a txid.

Defined at line 40 of file ../../src/tests/fidl/dynsuite/channel_util/bytes.h