class Id3::V2::Frame

Direct Known Subclasses

Defined in:

id3/v2/encoding.cr
id3/v2/flags.cr
id3/v2/frame.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(id : String, version : Version, size : Int32, flags : Id3::V2::Frame::NewFlags | Id3::V2::Frame::OldFlags | Nil, raw_body) #

[View source]

Class Method Detail

def self.from_id(id : String) #

[View source]
def self.read(r : Reader, version : Version) #

[View source]
def self.read_all(r : Reader, header : Header) #

[View source]
def self.valid_id?(id : String) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def body : Bytes #

[View source]
def compression_size : Int32 | Nil #

[View source]
def encryption : UInt8 | Nil #

[View source]
def extra_flag_bytes : Int32 #

[View source]
def flags : NewFlags | OldFlags | Nil #

[View source]
def group : UInt8 | Nil #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def id : String #

[View source]
def pretty_print(pp : PrettyPrint) #
Description copied from class Object

Pretty prints self into the given printer.

By default appends a text that is the result of invoking #inspect on self. Subclasses should override for custom pretty printing.


[View source]
def size : Int32 #

[View source]