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

bool TagLib::ByteVector::EndsWith ( ByteVector  pattern  )  [inline, inherited]

Checks whether or not a pattern appears at the end of the current instance.

pattern A ByteVector object containing the pattern to check for in the current instance.
if the pattern was found at the end of the current instance. Otherwise, .
ArgumentNullException pattern is .

Definition at line 878 of file ByteVector.cs.

References TagLib::ByteVector::ContainsAt(), TagLib::ByteVector::Count, and TagLib::ByteVector::data.

Referenced by TagLib::Riff::DivXTag::DivXTag().

                  if (pattern == null)
                        throw new ArgumentNullException ("pattern");
                  return ContainsAt (pattern,
                        this.data.Count - pattern.Count);

Generated by  Doxygen 1.6.0   Back to index