MusicFormat<TFile> Class
Definition
Base class for music formats with a strongly typed file type.
c#
public abstract class MusicFormat<TFile> : MusicFormat
where TFile : MusicFileType Parameters
| Name | Description |
|---|---|
TFile | The concrete file type. |
Constructors
| Name | Description |
|---|---|
MusicFormat(String, String) | Base class for music formats with a strongly typed file type. |
Methods
| Name | Description |
|---|---|
Read(Byte[]) | Reads a music file from a byte array. |
Read(Stream) | Reads a music file from a stream. |
ReadAsync(Stream, CancellationToken) | Reads a music file asynchronously. |
WriteAsync(IOFile, IBinaryWriter) | Writes a file to a IBinaryWriter asynchronously. |
WriteAsync(TFile, IBinaryWriter) | Writes a strongly typed resource file. |