Enum NotEnoughBytesPolicy
Specifies how reading engine should react on lack of bytes in the underlying stream
that are needed to read MIDI data (for example, DWORD requires 4 bytes available).
The default is Abort.
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public enum NotEnoughBytesPolicy
Fields
Name | Description |
---|---|
Abort | Abort reading and throw an NotEnoughBytesException. |
Ignore | Ignore lack of bytes in the reader's underlying stream and just finish reading. |