|   | RiffHeaderChunk(RiffChunk, Stream, String) Constructor | 
        
        Reads a new RIFF header from the specified stream.
        
        Namespace: GSF.MediaAssembly: GSF.Media (in GSF.Media.dll) Version: 2.4.257-beta
 Syntax
Syntaxpublic RiffHeaderChunk(
	RiffChunk preRead,
	Stream source,
	string format
)
Public Sub New ( 
	preRead As RiffChunk,
	source As Stream,
	format As String
)
public:
RiffHeaderChunk(
	RiffChunk^ preRead, 
	Stream^ source, 
	String^ format
)
new : 
        preRead : RiffChunk * 
        source : Stream * 
        format : string -> RiffHeaderChunkGSF.Media.RiffHeaderChunk = function(preRead, source, format);
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
Exceptions| Exception | Condition | 
|---|
| ArgumentNullException | format cannot be null. | 
| ArgumentOutOfRangeException | format must be extactly 4 characters in length. | 
 See Also
See Also