vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/test/tc_ptrin.rb
# Tests that message raises no error when decoded, encoded, and decoded again.
Tests that message raises no error when decoded, encoded, and decoded again.
Tests that message raises no error when decoded encoded and decoded again .
def verify(message_data_as_hex_string, canonical = false)
    message = Message.decode([message_data_as_hex_string].pack('H*').force_encoding("ASCII-8BIT"))
    Message.decode(message.encode(canonical))
  end
def verify ( message_data_as_hex_string , canonical = false ) message = Message . decode ( [ message_data_as_hex_string ] . pack ( 'H*' ) . force_encoding ( "ASCII-8BIT" ) ) Message . decode ( message . encode ( canonical ) ) end
Tests that message raises no error when decoded, encoded, and decoded again.
Tests that message raises no error when decoded encoded and decoded again .
# Dnsruby.log.level = Logger::DEBUG
message_data_as_hex_string
<not_specific>
canonical
<not_specific>