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

ByteVector TagLib::Riff::List::Render (  )  [inline]

Renders the current instance as a raw RIFF list.

A ByteVector object containing the rendered version of the current instance.

Definition at line 145 of file List.cs.

                  ByteVector data = new ByteVector ();
                  foreach (ByteVector id in Keys)
                        foreach (ByteVector value in this [id]) {
                              if (value.Count == 0)
                              data.Add (id);
                              data.Add (ByteVector.FromUInt (
                                    (uint) value.Count, false));
                              data.Add (value);
                              if (value.Count % 2 == 1)
                                    data.Add (0);
                  return data;

Generated by  Doxygen 1.6.0   Back to index