Net_DNS2
[ class tree: Net_DNS2 ] [ index: Net_DNS2 ] [ all elements ]

Class: Net_DNS2_BitMap

Source Location: /Net_DNS2-1.4.1/Net/DNS2/BitMap.php

Class Overview


a class to handle converting RR bitmaps to arrays and back; used on NSEC and NSEC3 RR's


Author(s):

Methods


Inherited Variables

Inherited Methods


Class Details

[line 64]
a class to handle converting RR bitmaps to arrays and back; used on NSEC and NSEC3 RR's


[ Top ]


Method Detail

arrayToBitMap   [line 141]

string arrayToBitMap( array $data)

builds a RR Bit map from an array of RR type names
  • Access: public

Parameters:

array   $data   —  a list of RR names

[ Top ]

bigBaseConvert   [line 231]

string bigBaseConvert( string $number)

a base_convert that handles large numbers; forced to 2/16
  • Access: public

Parameters:

string   $number   —  a bit string

[ Top ]

bitMapToArray   [line 77]

array 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 ) +

  • Access: public

Parameters:

string   $data   —  a bitmap stringto parse

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:01:44 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.