Class: TagLib::Ogg::Page
- Inherits:
-
Object
- Object
- TagLib::Ogg::Page
- 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
-
#containsPacket(index) ⇒ Object
Checks to see if the specified packet is contained in the current page.ContainsPacketFlags.
-
#fileOffset ⇒ Object
Returns the page's position within the file (in bytes).
-
#firstPacketIndex ⇒ Object
Returns the index of the first packet wholly or partially contained in this page.setFirstPacketIndex().
-
#header ⇒ Object
Returns a pointer to the header for this page.
-
#packetCount ⇒ Object
Returns the number of packets (whole or partial) in this page.
-
#packets ⇒ Object
Returns a list of the packets in this page.Either or both the first and last packets may be only partial.
- #render ⇒ Object
-
#setFirstPacketIndex(index) ⇒ Object
Sets the index of the first packet in the page.firstPacketIndex().
-
#size ⇒ Object
Returns the size of the page in bytes.
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 |
#fileOffset ⇒ Object
Returns the page's position within the file (in bytes).
623 624 |
# File 'lib/TagLib_doc.rb', line 623 def fileOffset() end |
#firstPacketIndex ⇒ Object
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 |
#header ⇒ Object
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 |
#packetCount ⇒ Object
Returns the number of packets (whole or partial) in this page.
578 579 |
# File 'lib/TagLib_doc.rb', line 578 def packetCount() end |
#packets ⇒ Object
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 |
#render ⇒ Object
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 |
#size ⇒ Object
Returns the size of the page in bytes.
601 602 |
# File 'lib/TagLib_doc.rb', line 601 def size() end |