BASS.NET API for the Un4seen BASS Audio Library

MidiSysExMessageMessageRead32 Method

BASS.NET API for the Un4seen BASS Audio Library
Reads a 28-bit value (4 bytes) from the Message data buffer (right-justified).

Namespace:  radio42.Multimedia.Midi
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public int MessageRead32(
	ref int offset
)

Parameters

offset
Type: SystemInt32
The zero-base offset (index) of the Message data buffer to start reading (the offset will be automatically be increased by the number of bytes read).

Return Value

Type: Int32
The int value (between 0 and 268435456) at the given position.
Remarks

You first need to initialize the Message data buffer with CreateBuffer(Int32) before being able to write to the buffer.

Do not call this method after you have prepared the message with Prepare, since after calling Prepare this method would have no effect.

See Also

Reference