Class: TagLib::APE::Footer
- Inherits:
-
Object
- Object
- TagLib::APE::Footer
- Defined in:
- lib/TagLib_doc.rb
Overview
An implementation of APE footers. .
This class implements APE footers (and headers). It attempts to follow, both semantically and programatically, the structure specified in the APE v2.0 standard. The API is based on the properties of APE footer and headers specified there.
Instance Method Summary collapse
-
#completeTagSize ⇒ Object
Returns the tag size, including if present, the header size.tagSize().
-
#footerPresent ⇒ Object
Returns true if a footer is present in the tag.
-
#headerPresent ⇒ Object
Returns true if a header is present in the tag.
-
#isHeader ⇒ Object
Returns true this is actually the header.
-
#itemCount ⇒ Object
Returns the number of items in the tag.
-
#renderFooter ⇒ Object
Renders the footer back to binary format.
-
#renderHeader ⇒ Object
Renders the header corresponding to the footer.
-
#setData(data) ⇒ Object
Sets the data that will be used as the footer.
-
#setHeaderPresent(b) ⇒ Object
Sets whether the header should be rendered or not.
-
#setItemCount(s) ⇒ Object
Set the item count to s.
-
#setTagSize(s) ⇒ Object
Set the tag size to s.
-
#tagSize ⇒ Object
Returns the tag size in bytes.
-
#version ⇒ Object
Returns the version number.
Instance Method Details
#completeTagSize ⇒ Object
Returns the tag size, including if present, the header size.tagSize()
1847 1848 |
# File 'lib/TagLib_doc.rb', line 1847 def completeTagSize() end |
#footerPresent ⇒ Object
Returns true if a footer is present in the tag.
1820 1821 |
# File 'lib/TagLib_doc.rb', line 1820 def () end |
#headerPresent ⇒ Object
Returns true if a header is present in the tag.
1873 1874 |
# File 'lib/TagLib_doc.rb', line 1873 def headerPresent() end |
#isHeader ⇒ Object
Returns true this is actually the header.
1841 1842 |
# File 'lib/TagLib_doc.rb', line 1841 def isHeader() end |
#itemCount ⇒ Object
Returns the number of items in the tag.
1863 1864 |
# File 'lib/TagLib_doc.rb', line 1863 def itemCount() end |
#renderFooter ⇒ Object
Renders the footer back to binary format.
1884 1885 |
# File 'lib/TagLib_doc.rb', line 1884 def () end |
#renderHeader ⇒ Object
Renders the header corresponding to the footer. If headerPresent is set to false, it returns an empty ByteVector.
1831 1832 |
# File 'lib/TagLib_doc.rb', line 1831 def renderHeader() end |
#setData(data) ⇒ Object
Sets the data that will be used as the footer. 32 bytes, starting from data will be used.
1868 1869 |
# File 'lib/TagLib_doc.rb', line 1868 def setData(data) end |
#setHeaderPresent(b) ⇒ Object
Sets whether the header should be rendered or not
1852 1853 |
# File 'lib/TagLib_doc.rb', line 1852 def setHeaderPresent(b) end |
#setItemCount(s) ⇒ Object
Set the item count to s. itemCount()
1879 1880 |
# File 'lib/TagLib_doc.rb', line 1879 def setItemCount(s) end |
#setTagSize(s) ⇒ Object
Set the tag size to s. tagSize()
1858 1859 |
# File 'lib/TagLib_doc.rb', line 1858 def setTagSize(s) end |
#tagSize ⇒ Object
Returns the tag size in bytes. This is the size of the frame content and footer. The size of the entire tag will be this plus the header size, if present.completeTagSize()
1826 1827 |
# File 'lib/TagLib_doc.rb', line 1826 def tagSize() end |
#version ⇒ Object
Returns the version number. (Note: This is the 1000 or 2000.)
1836 1837 |
# File 'lib/TagLib_doc.rb', line 1836 def version() end |