struct AMQ::Protocol::Table

Defined in:

amq/protocol/table.cr

Constant Summary

BYTEFORMAT = IO::ByteFormat::NetworkEndian

Constructors

Instance Method Summary

Constructor Detail

def self.from_io(io, format, size : UInt32 | Nil = nil) : self #

[View source]
def self.new(hash : NamedTuple, io : IO::Memory = IO::Memory.new) #

[View source]
def self.new(hash : Hash(String, Field) | Nil, io : IO::Memory = IO::Memory.new) #

[View source]
def self.new(io : IO::Memory = IO::Memory.new(0)) #

[View source]

Instance Method Detail

def ==(other : self) #

Comparition on a semantic level, not on byte level


[View source]
def [](key : String) #

[View source]
def []=(key : String, value : Field) #

[View source]
def []?(key : String) #

[View source]
def all?(&blk : String, Field -> _) : Bool #

[View source]
def any?(&blk : String, Field -> _) : Bool #

[View source]
def bytesize #

[View source]
def clone #

[View source]
def delete(key) #

[View source]
def each(&) #

[View source]
def empty? #

[View source]
def fetch(key : String, default : Field) #

[View source]
def fetch(key : String, &) #

[View source]
def has_key?(key) : Bool #

[View source]
def inspect(io) #

[View source]
def size #

[View source]
def to_h #

[View source]
def to_io(io, format) : Nil #

[View source]
def to_json(json) #

[View source]