Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

static ByteVector TagLib::ByteVector::TextDelimiter ( StringType  type  )  [inline, static, inherited]

Gets the text delimiter for nil separated string lists of a specified encoding.

Parameters:
type A StringType value specifying the encoding to use.
Returns:
A ByteVector object containing the text delimiter.

Definition at line 2205 of file ByteVector.cs.

References TagLib::ByteVector::td1, and TagLib::ByteVector::td2.

Referenced by TagLib::Id3v2::SynchronisedLyricsFrame::ParseFields(), TagLib::Id3v2::PrivateFrame::ParseFields(), TagLib::Id3v2::TextInformationFrame::ParseRawData(), and TagLib::ByteVector::ToStrings().

            {
                  return type == StringType.UTF16 ||
                        type == StringType.UTF16BE ||
                        type == StringType.UTF16LE ? td2 : td1;
            }


Generated by  Doxygen 1.6.0   Back to index