module Durian
Defined in:
durian/byte_format.crdurian/durian.cr
Constant Summary
-
RecordType =
["A", "AAAA", "NS", "PTR", "CNAME", "SOA", "TXT", "MX", "DNAME", "SRV"] of ::String
Class Method Summary
- .decode_additional_ipv4_address(io : IO, length : Int)
- .decode_additional_ipv6_address(io : IO, length : Int)
- .decode_address(io : IO, buffer : IO | Nil, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_address_by_pointer(buffer : IO, offset : Int, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_address_by_pointer(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_answer_ipv4_address(io : IO, length : Int)
- .decode_answer_ipv6_address(io : IO, length : Int)
- .decode_authority_ipv4_address(io : IO, length : Int)
- .decode_authority_ipv6_address(io : IO, length : Int)
- .encode_chunk_ipv4_address(ip_address, io : IO)
- .limit_length_buffer(io : IO, length : Int)
- .limit_length_buffer!(io : IO, length : Int)
- .parse_chunk_address(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .parse_strict_length_address(io : IO, length : Int, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
Instance Method Summary
Class Method Detail
def self.decode_address(io : IO, buffer : IO | Nil, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.decode_address_by_pointer(buffer : IO, offset : Int, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.decode_address_by_pointer(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.parse_chunk_address(io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.parse_strict_length_address(io : IO, length : Int, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#