module Durian
Defined in:
durian/durian.crdurian/socket/tcp_socket.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_address(protocol : Protocol, io : IO, buffer : IO | Nil, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_address_by_pointer(protocol : Protocol, buffer : IO, offset : Int, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_address_by_pointer(protocol : Protocol, io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .decode_resource_pointer(protocol : Protocol, io : IO, buffer : IO)
- .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, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
- .parse_strict_length_address(protocol : Protocol, io : IO, length : Int, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
Class Method Detail
def self.decode_address(protocol : Protocol, io : IO, buffer : IO | Nil, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.decode_address_by_pointer(protocol : Protocol, buffer : IO, offset : Int, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.decode_address_by_pointer(protocol : Protocol, io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#
def self.parse_chunk_address(protocol : Protocol, io : IO, buffer : IO, recursive_depth : Int32 = 0, maximum_length : Int32 = 512, maximum_recursive : Int32 = 64)
#