A class library for opening, parsing, and saving MIDI files.

BinaryReaderEx.ReadCharsUInt32 Method 

Reads length chars from the current stream into a char array and advances the current position by length chars.

public char[] ReadCharsUInt32(
   long length
);

Parameters

length
The number of chars to read.

Return Value

A char array containing data read from the underlying stream. This might be less than the number of chars requested if the end of the stream is reached.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown when length doesn't fit within the range of an unsigned 32-bit integer.

See Also

BinaryReaderEx Class | EF.Tools Namespace