Module Net::BER::Extensions::Array
In: lib/net/ber/core_ext/array.rb

BER extensions to the Array class.

Methods

Public Instance methods

Converts an Array to a BER sequence. All values in the Array are expected to be in BER format prior to calling this method.

Converts an Array to an application-specific sequence, assigned a tag value that is meaningful to the particular protocol being used. All values in the Array are expected to be in BER format pr prior to calling this method.

Converts an Array to a context-specific sequence, assigned a tag value that is meaningful to the particular context of the particular protocol being used. All values in the Array are expected to be in BER format prior to calling this method.

SNMP Object Identifiers (OID) are special arrays

to_ber_sequence(id = 0)

Alias for to_ber

Converts an Array to a BER set. All values in the Array are expected to be in BER format prior to calling this method.

[Validate]