class Buffer
Defined at line 38 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.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 Methods
void Buffer (Storage_ storage)
void Buffer (::zx::vmo vmo, uint64_t size)
void Buffer ()
Default constructs a |Buffer| only if all of its members are default constructible.
Defined at line 49 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
void Buffer (Buffer && )
Defined at line 52 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
Buffer & operator= (Buffer && )
Defined at line 53 of file fidling/gen/sdk/fidl/fuchsia.mem/fuchsia.mem/cpp/fidl/fuchsia.mem/cpp/natural_types.h
const ::zx::vmo & vmo ()
The vmo that contains the buffer.
::zx::vmo & vmo ()
The vmo that contains the buffer.
Buffer & vmo (::zx::vmo value)
The vmo that contains the buffer.
uint64_t size ()
The number of bytes in the buffer.
The content of the buffer begin at the start of the VMO and continue
for `size` bytes. To specify a range of bytes that do not start at
the beginning of the VMO, use `Range` rather than buffer.
This size must not be greater than the physical size of the VMO.
uint64_t & size ()
The number of bytes in the buffer.
The content of the buffer begin at the start of the VMO and continue
for `size` bytes. To specify a range of bytes that do not start at
the beginning of the VMO, use `Range` rather than buffer.
This size must not be greater than the physical size of the VMO.
Buffer & size (uint64_t value)
The number of bytes in the buffer.
The content of the buffer begin at the start of the VMO and continue
for `size` bytes. To specify a range of bytes that do not start at
the beginning of the VMO, use `Range` rather than buffer.
This size must not be greater than the physical size of the VMO.
void Buffer (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits