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.
파일 보기 프로젝트 열기: mstefarov/FlukeBox

공개 메소드들

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