Module | Net::BER::BERParser |
In: |
lib/net/ber.rb
|
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 |
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.