Beast Logo

PrevUpHomeNext
static_buffer::reset

Reset the pointed-to buffer.

Synopsis
void
reset(
    void* p,
    std::size_t size);
Description

This function resets the internal state to the buffer provided. All input and output sequences are invalidated. This function allows the derived class to construct its members before initializing the static buffer.

Parameters

Name

Description

p

A pointer to valid storage of at least n bytes.

size

The number of valid bytes pointed to by p.


PrevUpHomeNext