#include <MIDI_Parsers/BufferPuller.hpp>
Helper to pull bytes or other objects out of a buffer.
Definition at line 13 of file BufferPuller.hpp.
Public Member Functions | |
BufferPuller_ (const T *buffer, size_t length) | |
bool | pull (T &output) |
Pull a value out of the buffer. | |
Private Attributes | |
const T * | buffer |
const T *const | end |
|
inline |
Definition at line 15 of file BufferPuller.hpp.
|
inline |
Pull a value out of the buffer.
[out] | output | A new value from the buffer (if available). |
Definition at line 22 of file BufferPuller.hpp.
|
private |
Definition at line 31 of file BufferPuller.hpp.
|
private |
Definition at line 32 of file BufferPuller.hpp.