class WahWah::ID3::TextFrameBody
Public Instance Methods
parse()
click to toggle source
Text frame boby structure:
Text encoding $xx Information <text string according to encoding>
# File lib/wahwah/id3/text_frame_body.rb, line 10 def parse encoding_id, text = @content.unpack('Ca*') @value = Helper.encode_to_utf8(text, source_encoding: ENCODING_MAPPING[encoding_id]) end