class Id3::V2::Frame
- Id3::V2::Frame
- Reference
- Object
Direct Known Subclasses
Defined in:
id3/v2/encoding.crid3/v2/flags.cr
id3/v2/frame.cr
Constant Summary
-
Log =
::Log.for(self)
Constructors
Class Method Summary
- .from_id(id : String)
- .read(r : Reader, version : Version)
- .read_all(r : Reader, header : Header)
- .valid_id?(id : String)
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #body : Bytes
- #compression_size : Int32 | Nil
- #encryption : UInt8 | Nil
- #extra_flag_bytes : Int32
- #flags : NewFlags | OldFlags | Nil
- #group : UInt8 | Nil
-
#hash(hasher)
See
Object#hash(hasher)
- #id : String
-
#pretty_print(pp : PrettyPrint)
Pretty prints
self
into the given printer. - #size : Int32
Constructor Detail
def self.new(id : String, version : Version, size : Int32, flags : Id3::V2::Frame::NewFlags | Id3::V2::Frame::OldFlags | Nil, raw_body)
#
Class Method Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
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.