Class Dnsruby::RR::NXT::TypeBitmap
In: lib/dnsruby/resource/NXT.rb
Parent: Object

Methods

Attributes

bitmap  [RW] 

Public Class methods

Create an instance from a binary string, e.g. from a NXT record RDATA:

Create an instance from a string containing type names separated by spaces e.g. "A TXT NXT"

Create an instance from type numeric codes (e.g. 30 for NXT).

The constructor is made private so that the name of the method called to create the instance reveals to the reader the type of the initial data.

Public Instance methods

Returns a binary string representing this data, in as few bytes as possible (i.e. no leading zero bytes).

Output types in dig format, e.g. "A AAAA NXT"

Returns the instance‘s data as an array of type codes.

[Validate]