ESPHome 2025.8.0b2
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 115 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 122 of file api_frame_helper.h.

◆ remaining()

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

Definition at line 121 of file api_frame_helper.h.

Field Documentation

◆ data

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

Definition at line 116 of file api_frame_helper.h.

◆ offset

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

Definition at line 118 of file api_frame_helper.h.

◆ size

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

Definition at line 117 of file api_frame_helper.h.


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