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

void TagLib::ByteVector::Add ( ByteVector  data ) [inline, inherited]

Adds the contents of another ByteVector object to the end of the current instance.

Parameters:
dataA ByteVector object containing data to add to the end of the current instance.
Exceptions:
NotSupportedExceptionThe current instance is read-only.

Definition at line 939 of file ByteVector.cs.

References TagLib::ByteVector::IsReadOnly.

Referenced by TagLib::Ogg::Paginator::AddPage(), TagLib::Mpeg::AudioHeader::Find(), TagLib::Aac::AudioHeader::Find(), TagLib::Mpeg::File::FindMarker(), TagLib::ByteVector::FromInt(), TagLib::ByteVector::FromStream(), TagLib::ByteVector::FromString(), TagLib::ByteVector::FromUInt(), TagLib::ByteVector::FromULong(), TagLib::ByteVector::FromUShort(), TagLib::ByteVector::operator+(), TagLib::Ogg::Page::OverwriteSequenceNumbers(), TagLib::Ogg::PageHeader::PageHeader(), TagLib::Asf::Tag::PictureToData(), TagLib::Jpeg::File::ReadAPP1Segment(), TagLib::Ogg::Bitstream::ReadPage(), TagLib::Riff::DivXTag::Render(), TagLib::Ogg::XiphComment::Render(), TagLib::Ogg::PageHeader::Render(), TagLib::Ogg::Page::Render(), TagLib::NonContainer::StartTag::Render(), TagLib::NonContainer::EndTag::Render(), TagLib::Mpeg4::BoxHeader::Render(), TagLib::Mpeg4::FullBox::Render(), TagLib::Mpeg4::AppleDataBox::Render(), TagLib::IFD::IFDRenderer::Render(), TagLib::IFD::Entries::UserCommentIFDEntry::Render(), TagLib::IFD::Entries::StripOffsetsIFDEntry::Render(), TagLib::IFD::Entries::StringIFDEntry::Render(), TagLib::IFD::Entries::SRationalIFDEntry::Render(), TagLib::IFD::Entries::RationalIFDEntry::Render(), TagLib::Id3v2::Header::Render(), TagLib::Id3v2::TextInformationFrame::Render(), TagLib::Id3v2::FrameHeader::Render(), TagLib::Id3v2::Frame::Render(), TagLib::Flac::Block::Render(), TagLib::Asf::StreamPropertiesObject::Render(), TagLib::Asf::Object::Render(), TagLib::Asf::FilePropertiesObject::Render(), TagLib::Asf::DescriptionRecord::Render(), TagLib::Asf::ContentDescriptor::Render(), TagLib::Asf::ContentDescriptionObject::Render(), TagLib::Id3v1::Tag::Render(), TagLib::Ape::Item::Render(), TagLib::Id3v2::Footer::Render(), TagLib::Ape::Footer::Render(), TagLib::Flac::Picture::Render(), TagLib::Jpeg::File::RenderCOMSegment(), TagLib::Riff::List::RenderEnclosed(), TagLib::IFD::IFDRenderer::RenderEntry(), TagLib::IFD::IFDRenderer::RenderEntryData(), TagLib::Jpeg::File::RenderExifSegment(), TagLib::Id3v2::UnsynchronisedLyricsFrame::RenderFields(), TagLib::Id3v2::UniqueFileIdentifierFrame::RenderFields(), TagLib::Id3v2::TextInformationFrame::RenderFields(), TagLib::Id3v2::TermsOfUseFrame::RenderFields(), TagLib::Id3v2::SynchronisedLyricsFrame::RenderFields(), TagLib::Id3v2::RelativeVolumeFrame::RenderFields(), TagLib::Id3v2::PrivateFrame::RenderFields(), TagLib::Id3v2::GeneralEncapsulatedObjectFrame::RenderFields(), TagLib::Id3v2::CommentsFrame::RenderFields(), TagLib::Id3v2::AttachedPictureFrame::RenderFields(), TagLib::Gif::File::RenderGifCommentBlock(), TagLib::Tiff::BaseTiffFile::RenderHeader(), TagLib::IFD::IFDRenderer::RenderIFD(), TagLib::Png::File::RenderKeywordChunks(), TagLib::Asf::Object::RenderUnicode(), TagLib::Gif::File::RenderXMPBlock(), TagLib::Png::File::RenderXMPChunk(), TagLib::Jpeg::File::RenderXMPSegment(), TagLib::Mpeg::File::RFindMarker(), TagLib::Riff::File::Save(), TagLib::Ogg::File::Save(), TagLib::Flac::File::Save(), TagLib::Aiff::File::Save(), TagLib::Png::File::SaveMetadata(), TagLib::Gif::File::SaveMetadata(), TagLib::Ogg::Codecs::Vorbis::SetCommentPacket(), TagLib::Ogg::Codecs::Theora::SetCommentPacket(), TagLib::Riff::List::SetValue(), TagLib::ByteVectorCollection::ToByteVector(), TagLib::Tiff::File::WriteFile(), and TagLib::Jpeg::File::WriteMetadata().

            {
                  if (IsReadOnly)
                        throw new NotSupportedException (
                              "Cannot edit readonly objects.");
                  
                  if(data != null) {
                        this.data.AddRange(data);
                  }
            }

Generated by  Doxygen 1.6.0   Back to index