class WahWah::ID3::FrameBody

Constants

ENCODING_MAPPING

Textual frames are marked with an encoding byte.

$00 ISO-8859-1 [ISO-8859-1]. Terminated with $00. $01 UTF-16 [UTF-16] encoded Unicode [UNICODE] with BOM. $02 UTF-16BE [UTF-16] encoded Unicode [UNICODE] without BOM. $03 UTF-8 [UTF-8] encoded Unicode [UNICODE].

ENCODING_TERMINATOR_SIZE

Attributes

value[R]

Public Class Methods

new(content, version) click to toggle source
# File lib/wahwah/id3/frame_body.rb, line 24
def initialize(content, version)
  @content = content
  @version = version

  parse
end

Public Instance Methods

parse() click to toggle source
# File lib/wahwah/id3/frame_body.rb, line 31
def parse
  raise WahWahNotImplementedError, 'The parse method is not implemented'
end