Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MaximInterface
GenericMemoryBuffer< Allocator > Struct Template Reference
Represents an in-memory output byte stream. More...
#include <memorybuffer.h>
Detailed Description
template<typename Allocator = CrtAllocator>
struct GenericMemoryBuffer< Allocator >
Represents an in-memory output byte stream.
This class is mainly for being wrapped by EncodedOutputStream or AutoUTFOutputStream.
It is similar to FileWriteBuffer but the destination is an in-memory buffer instead of a file.
Differences between MemoryBuffer and StringBuffer: 1. StringBuffer has Encoding but MemoryBuffer is only a byte buffer. 2. StringBuffer::GetString() returns a null-terminated string. MemoryBuffer::GetBuffer() returns a buffer without terminator.
- Template Parameters:
-
Allocator type for allocating memory buffer.
- Note:
- implements Stream concept
Definition at line 37 of file memorybuffer.h.
Generated on Tue Jul 12 2022 12:06:51 by
1.7.2