The Dynamic Buffers API provides:
flat buffers, which are used to allocate and manage storage in a single cell allocated from the heap.
segmented buffers, which are used to allocate and manage storage spread across a doubly-linked list of segments allocated from the heap.