SSP21-CPP
Public Member Functions | Static Public Member Functions | List of all members
ser4cpp::WSeq< L > Class Template Reference

#include <ser4cpp/container/WSeq.h>

Public Member Functions

 WSeq (uint8_t *buffer, uint32_t length)
 
void set_all_to (uint8_t value)
 
void make_empty ()
 
advance (L count)
 
bool put (uint8_t byte)
 
WSeq skip (uint32_t count) const
 
WSeq take (uint32_t count) const
 
RSeq< L > readonly () const
 
 operator uint8_t * () const
 
RSeq< L > copy_from (const RSeq< L > &src)
 
RSeq< L > move_from (const RSeq< L > &src)
 
- Public Member Functions inherited from ser4cpp::HasLength< L >
length () const
 
bool is_empty () const
 
bool is_not_empty () const
 

Static Public Member Functions

static WSeq empty ()
 

Additional Inherited Members

- Protected Member Functions inherited from ser4cpp::HasLength< L >
 HasLength (L length)
 
- Protected Attributes inherited from ser4cpp::HasLength< L >
m_length = 0
 

Detailed Description

template<class L>
class ser4cpp::WSeq< L >

Represents a write-able slice of a buffer located elsewhere. Mediates writing to the buffer to prevent overruns and other errors. Parameterized by the length type

Definition at line 42 of file WSeq.h.