forked from mikepultz/netdns2
-
Notifications
You must be signed in to change notification settings - Fork 1
JDWX DNSQuery BitMap
JDW edited this page Jul 17, 2022
·
1 revision
A class to handle converting RR bitmaps to arrays and back; used on NSEC and NSEC3 RRs.
- Class name: BitMap
- Namespace: \JDWX\DNSQuery
string JDWX\DNSQuery\BitMap::arrayToBitMap(string[] i_data)
builds a RR Bit map from an array of RR type names
- Visibility: public
- This method is static.
- i_data string[] - a list of RR type names
string JDWX\DNSQuery\BitMap::bigBaseConvert(string number)
a base_convert that handles large numbers; forced to 2/16
- Visibility: public
- This method is static.
- number string - a bit string
string[] JDWX\DNSQuery\BitMap::bitMapToArray(string data)
parses a RR bitmap field defined in RFC3845, into an array of RR names.
Type Bit Map(s) Field = ( Window Block # | Bitmap Length | Bitmap ) +
- Visibility: public
- This method is static.
- data string - a bitmap string to parse