module Net::BER::Extensions::Array

def to_ber_set(id = 0)

be in BER format prior to calling this method.
Converts an Array to a BER set. All values in the Array are expected to
#
def to_ber_set(id = 0)
  # The universal set tag 0x31 is composed of the base tag value (0x11)
  # and the constructed flag (0x20).
  to_ber_seq_internal(0x31 + id)
end