abstract struct AMQ::Protocol::Frame

Direct Known Subclasses

Defined in:

amq/protocol/frames.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(channel : UInt16, bytesize : UInt32) #

[View source]

Class Method Detail

def self.from_io(io, format = IO::ByteFormat::NetworkEndian, & : Frame -> _) #

[View source]

Instance Method Detail

def bytesize : UInt32 #

[View source]
def channel : UInt16 #

[View source]
abstract def to_io(io : IO, format : IO::ByteFormat) #

[View source]
def to_slice(format = IO::ByteFormat::SystemEndian) : Bytes #

[View source]
abstract def type : UInt8 #

[View source]
def wrap(io, format : IO::ByteFormat, &) : Nil #

[View source]