template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 4719 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h
Public Methods
::fuchsia_web::wire::Favicon Build ()
Build and return the table. The builder should not be used after this.
bool has_data ()
void clear_data ()
Clears the data field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_mem::wire::Buffer & data ()
The image content encoded as an RGBA bitmap with premultiplied alpha channel. The data is
densely packed, so the stride is always `4 * width` and the total size is
`4 * width * height`.
BuilderImpl & data (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_mem::wire::Buffer>> elem)
The image content encoded as an RGBA bitmap with premultiplied alpha channel. The data is
densely packed, so the stride is always `4 * width` and the total size is
`4 * width * height`.
bool has_width ()
void clear_width ()
Clears the width field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & width ()
The width of the image.
BuilderImpl & width (uint32_t elem)
The width of the image.
bool has_height ()
void clear_height ()
Clears the height field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
uint32_t & height ()
The height of the image.
BuilderImpl & height (uint32_t elem)
The height of the image.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_web::wire::Favicon, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_web::wire::Favicon>> && frame)