class Buffer

Defined at line 28 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/hlcpp/fuchsia/mem/cpp/fidl.h

A buffer for data whose size is not necessarily a multiple of the page

size.

DEPRECATED: This type is superfluous and deprecated. Instead of using this type,

use a zx.Handle:VMO object and store the size of the contents in the ZX_PROP_VMO_CONTENT_SIZE

property.

Public Members

vmo vmo
uint64_t size

Public Methods

::std::unique_ptr<Buffer> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Buffer * value, size_t _offset)
zx_status_t Clone (Buffer * result)