libmoost
|
#include <variable_length_encoding.hpp>
Static Public Member Functions | |
template<class T , class InputIterator > | |
static void | read (T &value, InputIterator &p_in) |
template<class InputIterator > | |
static boost::int32_t | read (InputIterator &p_in) |
template<class OutputIterator > | |
static void | write (boost::int32_t value, OutputIterator &p_out) |
MIDI-style variable length encoding, inspired from: http://www.borg.com/~jglatt/tech/midifile/vari.htm
Definition at line 40 of file variable_length_encoding.hpp.
static void moost::algorithm::variable_length_encoding::read | ( | T & | value, |
InputIterator & | p_in | ||
) | [inline, static] |
Definition at line 44 of file variable_length_encoding.hpp.
static boost::int32_t moost::algorithm::variable_length_encoding::read | ( | InputIterator & | p_in | ) | [inline, static] |
Definition at line 82 of file variable_length_encoding.hpp.
static void moost::algorithm::variable_length_encoding::write | ( | boost::int32_t | value, |
OutputIterator & | p_out | ||
) | [inline, static] |
Definition at line 114 of file variable_length_encoding.hpp.