#include <MIDI_Parsers/BufferPuller.hpp>
Helper to pull bytes or other objects out of a buffer.
Definition at line 13 of file BufferPuller.hpp.
Collaboration diagram for BufferPuller_< T >: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 |
Definition at line 15 of file BufferPuller.hpp.
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.
Definition at line 32 of file BufferPuller.hpp.