C# Class TagLib.IFD.Entries.ThumbnailDataIFDEntry

Contains the data of a Thumbnail. Since the thumbnail is referenced by two long entries (offset to the data and length) we need to take care of this special case. This entry acts as the offset-entry but holds also the thumbail data. When rendering the entry, we have to render the data but write a long entry.
Inheritance: IFDEntry
Exibir arquivo Open project: rubenv/tripod

Public Methods

Method Description
Render ( bool is_bigendian, uint offset, ushort &type, uint &count ) : ByteVector

Renders the current instance to a ByteVector

ThumbnailDataIFDEntry ( ushort tag, ByteVector data )

Construcor.

Method Details

Render() public method

Renders the current instance to a ByteVector
public Render ( bool is_bigendian, uint offset, ushort &type, uint &count ) : ByteVector
is_bigendian bool /// A indicating the endianess for rendering. ///
offset uint /// A with the offset, the data is stored. ///
type ushort /// A the ID of the type, which is rendered ///
count uint /// A with the count of the values which are /// rendered. ///
return ByteVector

ThumbnailDataIFDEntry() public method

Construcor.
public ThumbnailDataIFDEntry ( ushort tag, ByteVector data )
tag ushort /// A with the tag ID of the entry this instance /// represents ///
data ByteVector /// A with the thumbnail data to be stored ///