C# Класс 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.
Показать файл Открыть проект

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

Метод Описание
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.

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

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

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. ///
Результат ByteVector

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

Resynchronizes a ByteVector object by removing the added bytes.
/// is . ///
public static ResynchByteVector ( ByteVector data ) : void
data ByteVector /// A object to resynchronize. ///
Результат void

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

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. ///
Результат uint

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

Unsynchronizes a ByteVector object by inserting empty bytes where necessary.
/// is . ///
public static UnsynchByteVector ( ByteVector data ) : void
data ByteVector /// A object to unsynchronize. ///
Результат void