Monero
Loading...
Searching...
No Matches
stringbuffer.h File Reference
#include "stream.h"
#include "internal/stack.h"
Include dependency graph for stringbuffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GenericStringBuffer< Encoding, Allocator >
 Represents an in-memory output stream. More...

Typedefs

typedef GenericStringBuffer< UTF8<> > StringBuffer
 String buffer with UTF8 encoding.

Functions

template<typename Encoding, typename Allocator>
void PutReserve (GenericStringBuffer< Encoding, Allocator > &stream, size_t count)
template<typename Encoding, typename Allocator>
void PutUnsafe (GenericStringBuffer< Encoding, Allocator > &stream, typename Encoding::Ch c)
template<>
void PutN (GenericStringBuffer< UTF8<> > &stream, char c, size_t n)
 Implement specialized version of PutN() with memset() for better performance.

Typedef Documentation

◆ StringBuffer

String buffer with UTF8 encoding.

Function Documentation

◆ PutN()

template<>
void PutN ( GenericStringBuffer< UTF8<> > & stream,
char c,
size_t n )
inline

Implement specialized version of PutN() with memset() for better performance.

◆ PutReserve()

template<typename Encoding, typename Allocator>
void PutReserve ( GenericStringBuffer< Encoding, Allocator > & stream,
size_t count )
inline

◆ PutUnsafe()

template<typename Encoding, typename Allocator>
void PutUnsafe ( GenericStringBuffer< Encoding, Allocator > & stream,
typename Encoding::Ch c )
inline