Click or drag to resize

RiffHeaderChunk(RiffChunk, Stream, String) Constructor

Reads a new RIFF header from the specified stream.

Namespace: GSF.Media
Assembly: GSF.Media (in GSF.Media.dll) Version: 2.4.207-beta
Syntax
public RiffHeaderChunk(
	RiffChunk preRead,
	Stream source,
	string format
)
View Source

Parameters

preRead  RiffChunk
Pre-parsed RiffChunk header.
source  Stream
Source stream to read data from.
format  String
Expected RIFF media format (e.g., "WAVE").
Exceptions
ExceptionCondition
ArgumentNullExceptionformat cannot be null.
ArgumentOutOfRangeExceptionformat must be extactly 4 characters in length.
See Also