class D4::Format::FrameStream

Defined in:

d4/format.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(source : Source, offset : Int64, size : Int64, limit : Int64, max_frame : Int64 | Nil = nil) #

[View source]

Class Method Detail

def self.read(source : Source, offset : Int64, first_size : Int64, limit : Int64) : Bytes #

[View source]

Instance Method Detail

def next_payload : Bytes | Nil #

[View source]
def payload_offset : Int64 #

Physical location of the payload most recently returned by next_payload.


[View source]