C# Class FlacLibSharp.Picture

A picture metadata block.
Inheritance: MetadataBlock
Afficher le fichier Open project: AaronLenoir/flaclibsharp

Méthodes publiques

Méthode Description
LoadBlockData ( byte data ) : void

Loads the picture data from a Metadata block.

Picture ( ) : System
WriteBlockData ( Stream targetStream ) : void

Will write the data describing this metadata block to the given stream.

Private Methods

Méthode Description
CalculateMetadataBlockLength ( ) : void

Calculates the total size of this block, taking into account the lengths of the variable length fields.

CalculateMetadataBlockLength ( uint mimeLength, uint descriptionLength, uint pictureDataLength ) : void

Calculates the total size of this block, taking into account the lengths of the variable length fields.

If the lengths of the variable length fields are already available, use this function, otherwise use the parameterless override.

Method Details

LoadBlockData() public méthode

Loads the picture data from a Metadata block.
public LoadBlockData ( byte data ) : void
data byte
Résultat void

Picture() public méthode

public Picture ( ) : System
Résultat System

WriteBlockData() public méthode

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.
Résultat void