C# Класс FlacLibSharp.MetadataBlock

The abstract base class for all meta data blocks.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( Stream data ) : MetadataBlock

Loads the first meta data block found on the stream (first byte is supposed to be the start of the meta data block)... the stream will be forwarded to the start of the next meta data block (or the start of the audio frames)

LoadBlockData ( byte data ) : void

When overridden in a derived class, will load the given type of metadata from the data provided.

WriteBlockData ( Stream targetStream ) : void

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

Защищенные методы

Метод Описание
MetadataBlock ( ) : System

Creates an empty metadata block

Приватные методы

Метод Описание
GetInstanceByBlockType ( MetadataBlockHeader type ) : MetadataBlock

Описание методов

Create() публичный статический Метод

Loads the first meta data block found on the stream (first byte is supposed to be the start of the meta data block)... the stream will be forwarded to the start of the next meta data block (or the start of the audio frames)
public static Create ( Stream data ) : MetadataBlock
data Stream
Результат MetadataBlock

LoadBlockData() публичный абстрактный Метод

When overridden in a derived class, will load the given type of metadata from the data provided.
public abstract LoadBlockData ( byte data ) : void
data byte The data where to find the metadata block in.
Результат void

MetadataBlock() защищенный Метод

Creates an empty metadata block
protected MetadataBlock ( ) : System
Результат System

WriteBlockData() публичный абстрактный Метод

When overridden in a derived class, will write the data describing this metadata block to the given stream.
public abstract WriteBlockData ( Stream targetStream ) : void
targetStream Stream Stream to write the data to.
Результат void