Getting back a byte string from BitSet


(David Garamond) #1

May I suggest perhaps adding a BitSet#to_bytes to get back raw byte string from the BitSet object? i.e.,

  > BitSet.new("a").to_bytes
  => "a"

Regards,

···

--
dave