# File lib/net/ber.rb, line 244
244:   def to_ber code = 4
245:     [code].pack('C') + length.to_ber_length_encoding + self
246:   end