Class: TagLib::ID3v2::Header

Inherits:
Object
  • Object
show all
Defined in:
docs/taglib/id3v2.rb

Overview

Exposes properties defined in a standard ID3v2 header.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#experimental_indicatorBoolean (readonly)


137
138
139
# File 'docs/taglib/id3v2.rb', line 137

def experimental_indicator
  @experimental_indicator
end

#extended_headerBoolean (readonly)


134
135
136
# File 'docs/taglib/id3v2.rb', line 134

def extended_header
  @extended_header
end

140
141
142
# File 'docs/taglib/id3v2.rb', line 140

def footer_present
  @footer_present
end

#major_versionInteger

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_numberInteger (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_sizeInteger

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

#unsynchronisationBoolean (readonly)


131
132
133
# File 'docs/taglib/id3v2.rb', line 131

def unsynchronisation
  @unsynchronisation
end

Instance Method Details

#renderTagLib::ByteVector

Renders the header to binary.


144
145
# File 'docs/taglib/id3v2.rb', line 144

def render
end