class Mp3::Frame

Defined in:

id3/mp3/frame.cr

Constant Summary

SYNC_BYTE = 255

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(at : Int64, header : Mp3::Frame::Header) #

[View source]

Class Method Detail

def self.each(r : Reader, max_scan : BinarySize, &block : Frame -> _) #

Scan for the first frame and from there on iterate over each mp3 frame


[View source]
def self.find_first_frame(r : Reader, max_scan : BinarySize) : Frame | Nil #

[View source]
def self.find_first_frame?(r : Reader, max_scan : BinarySize) : Frame | Nil #

[View source]

Instance Method Detail

def at : Int64 #

[View source]
def duration #

[View source]
def header : Header #

[View source]
def size #

[View source]
def xing_frame?(r : Reader) #

[View source]