module Durian
Defined in:
durian/durian.crdurian/resolver/fetch_list.cr
durian/version.cr
Constant Summary
-
AvailableRecordFlag =
["A", "AAAA", "NS", "PTR", "CNAME", "SOA", "TXT", "MX", "DNAME", "SRV"]
-
VERSION =
"0.1.4"
Class Method Summary
- .decode_by_resource_pointer(protocol : Protocol, io : IO, buffer : IO::Memory, maximum_depth : Int32 = 65)
- .decode_chunk(buffer : IO::Memory) : Tuple(ChunkFlag, Array(String), UInt8)
- .depth_decode_by_resource_pointer!(protocol : Protocol, buffer : IO::Memory, offset : Int, question : Bool = false, maximum_depth : Int32 = 65) : String | Nil
- .encode_chunk_ipv4_address(ip_address, io : IO)
- .limit_length_buffer(io : IO, length : Int) : IO::Memory
- .limit_length_buffer!(io : IO, length : Int) : IO::Memory
- .parse_chunk_address(protocol : Protocol, io : IO, buffer : IO, maximum_depth : Int32 = 65)
- .parse_strict_length_address(protocol : Protocol, io : IO, length : Int, buffer : IO::Memory, maximum_depth : Int32 = 65, maximum_length : Int32 = 512)
- .update_chunk_resource_pointer_position(protocol : Protocol, buffer : IO::Memory, chunk_length : UInt8, question : Bool = false)
Class Method Detail
def self.decode_by_resource_pointer(protocol : Protocol, io : IO, buffer : IO::Memory, maximum_depth : Int32 = 65)
#
def self.depth_decode_by_resource_pointer!(protocol : Protocol, buffer : IO::Memory, offset : Int, question : Bool = false, maximum_depth : Int32 = 65) : String | Nil
#
def self.parse_chunk_address(protocol : Protocol, io : IO, buffer : IO, maximum_depth : Int32 = 65)
#
def self.parse_strict_length_address(protocol : Protocol, io : IO, length : Int, buffer : IO::Memory, maximum_depth : Int32 = 65, maximum_length : Int32 = 512)
#