ESPHome 2025.10.0-dev
Loading...
Searching...
No Matches
esphome::json::SpiRamAllocator Struct Reference

#include <json_util.h>

Inheritance diagram for esphome::json::SpiRamAllocator:

Public Member Functions

void * allocate (size_t size) override
 
void deallocate (void *ptr) override
 
void * reallocate (void *ptr, size_t new_size) override
 

Protected Attributes

RAMAllocator< uint8_t > allocator_ {RAMAllocator<uint8_t>::NONE}
 

Detailed Description

Definition at line 19 of file json_util.h.

Member Function Documentation

◆ allocate()

void * esphome::json::SpiRamAllocator::allocate ( size_t size)
inlineoverride

Definition at line 20 of file json_util.h.

◆ deallocate()

void esphome::json::SpiRamAllocator::deallocate ( void * ptr)
inlineoverride

Definition at line 22 of file json_util.h.

◆ reallocate()

void * esphome::json::SpiRamAllocator::reallocate ( void * ptr,
size_t new_size )
inlineoverride

Definition at line 32 of file json_util.h.

Field Documentation

◆ allocator_

RAMAllocator<uint8_t> esphome::json::SpiRamAllocator::allocator_ {RAMAllocator<uint8_t>::NONE}
protected

Definition at line 37 of file json_util.h.


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