C# Class TagLib.Id3v2.SynchData

This static class provides support for encoding and decoding unsynchronized data and numbers.
Unsynchronization is designed so that portions of the tag won't be misinterpreted as MPEG audio stream headers by removing the possibility of the synch bytes occuring in the tag.
Afficher le fichier Open project: mstefarov/FlukeBox

Méthodes publiques

Méthode Description
FromUInt ( uint value ) : ByteVector

Encodes a uint value as synchronized integer data.

ResynchByteVector ( ByteVector data ) : void

Resynchronizes a ByteVector object by removing the added bytes.

ToUInt ( ByteVector data ) : uint

Decodes synchronized integer data into a value.

UnsynchByteVector ( ByteVector data ) : void

Unsynchronizes a ByteVector object by inserting empty bytes where necessary.

Method Details

FromUInt() public static méthode

Encodes a uint value as synchronized integer data.
/// is greater than 268435455. ///
public static FromUInt ( uint value ) : ByteVector
value uint /// A value containing the number to /// encode. ///
Résultat ByteVector

ResynchByteVector() public static méthode

Resynchronizes a ByteVector object by removing the added bytes.
/// is . ///
public static ResynchByteVector ( ByteVector data ) : void
data ByteVector /// A object to resynchronize. ///
Résultat void

ToUInt() public static méthode

Decodes synchronized integer data into a value.
/// is . ///
public static ToUInt ( ByteVector data ) : uint
data ByteVector /// A object containing the number /// to decode. Only the first 4 bytes of this value will be /// used. ///
Résultat uint

UnsynchByteVector() public static méthode

Unsynchronizes a ByteVector object by inserting empty bytes where necessary.
/// is . ///
public static UnsynchByteVector ( ByteVector data ) : void
data ByteVector /// A object to unsynchronize. ///
Résultat void