module Matter::Codec::DNSCodec::Base

Extended Modules

Defined in:

matter/codec/dns_codec.cr

Instance Method Summary

Instance Method Detail

def decode(message : Slice(UInt8), byte_format : IO::ByteFormat = IO::ByteFormat::BigEndian) : Message | Nil #

[View source]
def encode(message_type : MessageType, transaction_id : UInt16, queries : Array(Query), answers : Array(Record), authorities : Array(Record), additional_records : Array(Record), byte_format : IO::ByteFormat = IO::ByteFormat::BigEndian) : Slice(UInt8) #

[View source]