Holds information about a variable-length value which was parsed from a stream of bytes. More...
Public Member Functions | |
VariableLengthValue ()=default | |
VariableLengthValue (int valueIn, int bytesUsedIn) | |
bool | isValid () const noexcept |
Public Attributes | |
int | value = 0 |
int | bytesUsed = 0 |
Holds information about a variable-length value which was parsed from a stream of bytes.
A valid value requires that bytesUsed
is greater than 0.
|
default |
MidiMessage::VariableLengthValue::VariableLengthValue | ( | int | valueIn, |
int | bytesUsedIn ) |
|
noexcept |
References bytesUsed.
int MidiMessage::VariableLengthValue::value = 0 |
Referenced by VariableLengthValue().
int MidiMessage::VariableLengthValue::bytesUsed = 0 |
Referenced by isValid(), and VariableLengthValue().