Class: ID3Tag::Frames::V2::UniqueFileIdFrame

Inherits:
BasicFrame
  • Object
show all
Defined in:
lib/id3tag/frames/v2/unique_file_id_frame.rb

Direct Known Subclasses

PrivateFrame

Constant Summary

Constants inherited from BasicFrame

BasicFrame::DECOMPRESSED_SIZE_BYTE_COUNT, BasicFrame::GROUP_BYTE_COUNT

Instance Attribute Summary

Attributes inherited from BasicFrame

#id, #raw_content

Instance Method Summary collapse

Methods inherited from BasicFrame

#compressed?, #data_length_indicator?, #encrypted?, #encryption_id, #final_size, #group_id, #grouped?, #initialize, #inspect, #preserve_on_file_alteration?, #preserve_on_tag_alteration?, #read_additional_info_byte, #read_only?, #unsynchronised?, #usable_content

Constructor Details

This class inherits a constructor from ID3Tag::Frames::V2::BasicFrame

Instance Method Details

#contentObject



9
10
11
# File 'lib/id3tag/frames/v2/unique_file_id_frame.rb', line 9

def content
  content_split_apart_by_null_byte.last
end

#inspectable_contentObject



13
14
15
# File 'lib/id3tag/frames/v2/unique_file_id_frame.rb', line 13

def inspectable_content
  "#{owner_identifier}"
end

#owner_identifierObject



5
6
7
# File 'lib/id3tag/frames/v2/unique_file_id_frame.rb', line 5

def owner_identifier
  content_split_apart_by_null_byte.first
end