ESPHome 2025.12.0-dev
Loading...
Searching...
No Matches
esphome::api::APIFrameHelper::SendBuffer Struct Reference

#include <api_frame_helper.h>

Public Member Functions

uint16_t remaining () const
 
const uint8_t * current_data () const
 

Data Fields

std::unique_ptr< uint8_t[]> data
 
uint16_t size {0}
 
uint16_t offset {0}
 

Detailed Description

Definition at line 127 of file api_frame_helper.h.

Member Function Documentation

◆ current_data()

const uint8_t * esphome::api::APIFrameHelper::SendBuffer::current_data ( ) const
inline

Definition at line 134 of file api_frame_helper.h.

◆ remaining()

uint16_t esphome::api::APIFrameHelper::SendBuffer::remaining ( ) const
inline

Definition at line 133 of file api_frame_helper.h.

Field Documentation

◆ data

std::unique_ptr<uint8_t[]> esphome::api::APIFrameHelper::SendBuffer::data

Definition at line 128 of file api_frame_helper.h.

◆ offset

uint16_t esphome::api::APIFrameHelper::SendBuffer::offset {0}

Definition at line 130 of file api_frame_helper.h.

◆ size

uint16_t esphome::api::APIFrameHelper::SendBuffer::size {0}

Definition at line 129 of file api_frame_helper.h.


The documentation for this struct was generated from the following file: