Memory & storage#

Memory allocators, buffers, persistent flash storage, and key-value stores

Modules#

The following table lists all modules related to Memory & storage.

Name

Status

Description

Languages

pw_allocator

stable

Flexible, safe, and measurable memory allocation

C++

pw_buf

unstable

Contiguous buffer views with optional memory ownership

C++

pw_kvs

stable

Lightweight, persistent key-value store

C++

pw_alignment

stable

Natural object alignment, guaranteed

C++

pw_blob_store

stable

Flash-backed persistent storage for data blobs

C++

pw_file

unstable

pw_intrusive_ptr

unstable

pw_malloc

stable

Replacement interface for standard libc dynamic memory operations

C, C++

pw_memory

stable

Memory utilities

C++

pw_multibuf

unstable

A buffer API optimized for zero-copy messaging

C++

pw_ring_buffer

stable