cphot 0.1
A C++ tool for computing photometry from spectra.
memorybuffer.h File Reference
#include "stream.h"
#include "internal/stack.h"

Go to the source code of this file.

Classes

struct  GenericMemoryBuffer< Allocator >
 Represents an in-memory output byte stream. More...
 

Typedefs

typedef GenericMemoryBuffer MemoryBuffer
 

Functions

template<>
void PutN (MemoryBuffer &memoryBuffer, char c, size_t n)
 Implement specialized version of PutN() with memset() for better performance. More...
 

Typedef Documentation

◆ MemoryBuffer

Definition at line 60 of file memorybuffer.h.

Function Documentation

◆ PutN()

template<>
void PutN ( MemoryBuffer memoryBuffer,
char  c,
size_t  n 
)
inline

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

Definition at line 64 of file memorybuffer.h.