C# 클래스 FlacLibSharp.MetadataBlock

The abstract base class for all meta data blocks.
파일 보기 프로젝트 열기: AaronLenoir/flaclibsharp 1 사용 예제들

공개 메소드들

메소드 설명
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