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

TagLib::Riff::List::List ( TagLib.File  file,
long  position,
int  length 
) [inline]

Constructs and initializes a new instance of List by reading the contents of a raw RIFF list from a specified position in a TagLib.File.

file A TagLib.File object containing the file from which the contents of the new instance is to be read.
position A long value specify at what position to read the list.
length A int value specifying the number of bytes to read.
ArgumentNullException file is .
ArgumentOutOfRangeException position is less than zero or greater than the size of the file.

Definition at line 92 of file List.cs.

                  if (file == null)
                        throw new ArgumentNullException ("file");
                  if (length < 0)
                        throw new ArgumentOutOfRangeException (
                  if (position < 0 || position > file.Length - length)
                        throw new ArgumentOutOfRangeException (
                  file.Seek (position);
                  Parse (file.ReadBlock (length));

Generated by  Doxygen 1.6.0   Back to index