UCommon
ucommon::omemstream Class Reference

Stream class to write to memory buffer. More...

#include <stream.h>

Inherits std::streambuf, and std::ostream.

Public Member Functions

char * chr () const
 
size_t len () const
 
uint8_t * mem () const
 
 omemstream (char *data, size_t size)
 
 omemstream (uint8_t *data, size_t size)
 
int overflow (int ch)
 
size_t remains () const
 

Detailed Description

Stream class to write to memory buffer.

Definition at line 492 of file stream.h.

Member Function Documentation

◆ chr()

char * ucommon::omemstream::chr ( ) const
inline

Definition at line 515 of file stream.h.

◆ len()

size_t ucommon::omemstream::len ( ) const
inline

Definition at line 519 of file stream.h.

◆ mem()

uint8_t * ucommon::omemstream::mem ( ) const
inline

Definition at line 511 of file stream.h.

◆ remains()

size_t ucommon::omemstream::remains ( ) const
inline

Definition at line 507 of file stream.h.


The documentation for this class was generated from the following file: