Class: TagLib::ID3v2::Header
- Inherits:
-
Object
- Object
- TagLib::ID3v2::Header
- Defined in:
- docs/taglib/id3v2.rb
Overview
Exposes properties defined in a standard ID3v2 header.
Instance Attribute Summary collapse
-
#experimental_indicator ⇒ Boolean
readonly
If the experimental indicator flag is set.
-
#extended_header ⇒ Boolean
readonly
If an extended header is present in the tag.
-
#footer_present ⇒ Boolean
readonly
If a footer is present in the tag.
-
#major_version ⇒ Integer
The major version number (4 for a ID3v2.4.0 version tag).
-
#revision_number ⇒ Integer
readonly
The revision version number (0 for a ID3v2.4.0 version tag).
-
#tag_size ⇒ Integer
The size of the tag without the size of the header.
-
#unsynchronisation ⇒ Boolean
readonly
If unsynchronisation has been applied to all frames.
Instance Method Summary collapse
-
#render ⇒ TagLib::ByteVector
Renders the header to binary.
Instance Attribute Details
#experimental_indicator ⇒ Boolean (readonly)
Returns if the experimental indicator flag is set.
137 138 139 |
# File 'docs/taglib/id3v2.rb', line 137 def experimental_indicator @experimental_indicator end |
#extended_header ⇒ Boolean (readonly)
Returns if an extended header is present in the tag.
134 135 136 |
# File 'docs/taglib/id3v2.rb', line 134 def extended_header @extended_header end |
#footer_present ⇒ Boolean (readonly)
Returns if a footer is present in the tag.
140 141 142 |
# File 'docs/taglib/id3v2.rb', line 140 def @footer_present end |
#major_version ⇒ Integer
The major version number (4 for a ID3v2.4.0 version tag).
120 121 122 |
# File 'docs/taglib/id3v2.rb', line 120 def major_version @major_version end |
#revision_number ⇒ Integer (readonly)
The revision version number (0 for a ID3v2.4.0 version tag).
128 129 130 |
# File 'docs/taglib/id3v2.rb', line 128 def revision_number @revision_number end |
#tag_size ⇒ Integer
The size of the tag without the size of the header.
124 125 126 |
# File 'docs/taglib/id3v2.rb', line 124 def tag_size @tag_size end |
#unsynchronisation ⇒ Boolean (readonly)
Returns if unsynchronisation has been applied to all frames.
131 132 133 |
# File 'docs/taglib/id3v2.rb', line 131 def unsynchronisation @unsynchronisation end |
Instance Method Details
#render ⇒ TagLib::ByteVector
Renders the header to binary.
144 145 |
# File 'docs/taglib/id3v2.rb', line 144 def render end |