0.2.0
Loading...
Searching...
No Matches
cmrc::memstream Struct Reference

Public Member Functions

 memstream (char const *base, char *const end)
 Constructor.
 
 memstream (char const *base, size_t size)
 Constructor.
 
- Public Member Functions inherited from cmrc::membuf
 membuf (const char *base, size_t size)
 Constructor.
 
 membuf (const membuf &)=default
 Copy constructor.
 
 membuf (membuf &&)=default
 Move constructor.
 
membufoperator= (const membuf &)=default
 Copy assignment operator.
 
membufoperator= (membuf &&)=default
 Move assignment operator.
 
 ~membuf () override=default
 Destructor.
 

Detailed Description

Constructor & Destructor Documentation

◆ memstream() [1/2]

cmrc::memstream::memstream ( char const * base,
char *const end )
inline

Constructor.

Parameters
[in]basePointer to the start of the memory block
[in]endPointer to the end of the memory block

◆ memstream() [2/2]

cmrc::memstream::memstream ( char const * base,
size_t size )
inline

Constructor.

Parameters
[in]basePointer to the start of the memory block
[in]sizeSize of the memory block

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