225 226 227 228 229
# File 'lib/net/ber.rb', line 225 def to_ber i = [self].pack('w') i.length > 126 and raise Net::BER::BerError.new( "range error in bignum" ) [2, i.length].pack("CC") + i end