struct AMQ::Protocol::Table
- AMQ::Protocol::Table
- Struct
- Value
- Object
Defined in:
amq/protocol/table.crConstant Summary
-
BYTEFORMAT =
IO::ByteFormat::NetworkEndian
Constructors
- .from_bytes(bytes, format) : self
- .from_io(io, format, size : UInt32 | Nil = nil) : self
- .new(hash : NamedTuple, io : IO::Memory = IO::Memory.new)
- .new(hash : Hash(String, Field) | Nil, io : IO::Memory = IO::Memory.new)
- .new(io : IO::Memory = IO::Memory.new(0))
Instance Method Summary
-
#==(other : self)
Comparition on a semantic level, not on byte level
- #[](key : String)
- #[]=(key : String, value : Field)
- #[]?(key : String)
- #all?(& : String, Field -> _) : Bool
- #any?(& : String, Field -> _) : Bool
- #bytesize
- #clone : self
- #delete(key)
- #each(& : String, Field -> Nil)
- #empty?
- #fetch(key : String, default : Field)
- #fetch(key : String, &)
- #has_key?(key) : Bool
- #inspect(io)
- #merge!(hash : Hash(String, Field) | NamedTuple) : self
- #reject!(& : String, Field -> _) : self
- #size
- #to_h
- #to_io(io, format) : Nil
- #to_json(json : JSON::Builder)