The dynamic_buffer_stream module provides an in-memory dynamic-buffer-backed adapter for the stream port in the foundation layer.
It provides:
stream_t handles,stream factory.The module is designed to connect:
stream port,Sub-APIs:
The dynamic_buffer_stream module is a foundation adapter module for the stream port. It implements the stream backend contract on top of an in-memory dynamic buffer and exposes Composition Root entry points for direct creation and factory registration.
Typical responsibilities:
stream_t handles through the stream port,stream_adapter_desc_t descriptors for registration into the stream factory.The Composition Root can create a dynamic-buffer-backed stream directly through:
The Composition Root can register the adapter into a stream factory through:
The adapter relies on injected dependencies grouped in dynamic_buffer_stream_env_t, typically including:
stream port environment.The adapter provides stream behavior backed by an internal dynamic buffer:
This adapter is part of the surrounding stream family and targets the stream port.