Class: TagLib::Ogg::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/TagLib_doc.rb

Overview

An implementation of Ogg pages. .</b>

This is an implementation of the pages that make up an Ogg stream. This handles parsing pages and breaking them down into packets and handles the details of packets spanning multiple pages and pages that contiain multiple packets.In most Xiph.org formats the comments are found in the first few packets, this however is a reasonably complete implementation of Ogg pages that could potentially be useful for non-meta data purposes.

Instance Method Summary collapse

Instance Method Details

#containsPacket(index) ⇒ Object

Checks to see if the specified packet is contained in the current page.ContainsPacketFlags



618
619
# File 'lib/TagLib_doc.rb', line 618

def containsPacket(index)
end

#fileOffsetObject

Returns the page&apos;s position within the file (in bytes).



623
624
# File 'lib/TagLib_doc.rb', line 623

def fileOffset()
end

#firstPacketIndexObject

Returns the index of the first packet wholly or partially contained in this page.setFirstPacketIndex()



596
597
# File 'lib/TagLib_doc.rb', line 596

def firstPacketIndex()
end

#headerObject

Returns a pointer to the header for this page. This pointer will become invalid when the page is deleted.



583
584
# File 'lib/TagLib_doc.rb', line 583

def header()
end

#packetCountObject

Returns the number of packets (whole or partial) in this page.



578
579
# File 'lib/TagLib_doc.rb', line 578

def packetCount()
end

#packetsObject

Returns a list of the packets in this page.Either or both the first and last packets may be only partial. PageHeader::firstPacketContinued()



590
591
# File 'lib/TagLib_doc.rb', line 590

def packets()
end

#renderObject



612
613
# File 'lib/TagLib_doc.rb', line 612

def render()
end

#setFirstPacketIndex(index) ⇒ Object

Sets the index of the first packet in the page.firstPacketIndex()



607
608
# File 'lib/TagLib_doc.rb', line 607

def setFirstPacketIndex(index)
end

#sizeObject

Returns the size of the page in bytes.



601
602
# File 'lib/TagLib_doc.rb', line 601

def size()
end