class M2TSParser::Appendix::ARIBString

Public Instance Methods

content_description() click to toggle source
# File lib/m2ts_parser/appendix/arib_string.rb, line 12
def content_description
  if to_s
    begin
      arib_str = TSparser::AribString.new(TSparser::Binary.new(to_s))
      return arib_str.to_utf_8
    rescue
      return "error"
    end
  else
    return ""
  end
end