Delegate DecodeTextCallback
Callback used to decode a string from the specified bytes during reading a text-based
meta event's text.
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public delegate string DecodeTextCallback(byte[] bytes, ReadingSettings settings)
Parameters
Type | Name | Description |
---|---|---|
byte[] | bytes | Bytes to decode a string from. |
ReadingSettings | settings | Settings used to read MIDI data. |
Returns
Type | Description |
---|---|
string | A string decoded from given bytes. |
Remarks
All meta events types derived from BaseTextEvent have Text property. Value of this property will be read using this callback if DecodeTextCallback is set.