C# Class FlacLibSharp.StreamInfo

A metadata block that contains information on the actual stream.
Inheritance: MetadataBlock
Show file Open project: AaronLenoir/flaclibsharp Class Usage Examples

Public Methods

Method Description
LoadBlockData ( byte data ) : void

Loads a new stream info block from the provided data.

StreamInfo ( ) : System

Creates a StreamInfo from scratch, setting some sensible defaults.

Not sure why you would need this now, every FLAC already contains this and this library can't create actual FLAC files.

WriteBlockData ( Stream targetStream ) : void

When overridden in a derived class, will write the data describing this metadata block to the given stream.

Method Details

LoadBlockData() public method

Loads a new stream info block from the provided data.
public LoadBlockData ( byte data ) : void
data byte
return void

StreamInfo() public method

Creates a StreamInfo from scratch, setting some sensible defaults.
Not sure why you would need this now, every FLAC already contains this and this library can't create actual FLAC files.
public StreamInfo ( ) : System
return System

WriteBlockData() public method

When overridden in a derived class, will write the data describing this metadata block to the given stream.
public WriteBlockData ( Stream targetStream ) : void
targetStream Stream Stream to write the data to.
return void