Generate a BER-encoding for an application-defined INTEGER. Examples of such integers are SNMP's Counter, Gauge, and TimeTick types.
# File lib/net/ber/core_ext/integer.rb, line 30 def to_ber_application(tag) [0x40 + tag].pack("C") + to_ber_internal end
Generated with the Darkfish Rdoc Generator 2.