Module Net::BER::BERParser
In: lib/net/ber.rb

This module is for mixing into IO and IO-like objects.

Methods

read_ber  

Constants

TagClasses = [:universal, :application, :context_specific, :private]   The order of these follows the class-codes in BER. Maybe this should have been a hash.
BuiltinSyntax = { :universal => { :primitive => { 1 => :boolean, 2 => :integer, 4 => :string, 10 => :integer, }, :constructed => { 16 => :array, 17 => :array

Public Instance methods

read_ber TODO: clean this up so it works properly with partial packets coming from streams that don‘t block when we ask for more data (like StringIOs). At it is, this can throw TypeErrors and other nasties.

[Validate]