Getting back a byte string from BitSet

Discussion in 'Ruby' started by David Garamond, Feb 18, 2004.

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

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

    Regards,
    --
    dave
     
    David Garamond, Feb 18, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Peter
    Replies:
    3
    Views:
    747
    Michael Borgwardt
    Aug 5, 2004
  2. jt
    Replies:
    3
    Views:
    966
    Keith Thompson
    May 23, 2005
  3. Polaris431
    Replies:
    8
    Views:
    799
    SM Ryan
    Dec 4, 2006
  4. Allen
    Replies:
    9
    Views:
    1,719
    Bertrand
    Jan 26, 2009
  5. Ninds
    Replies:
    14
    Views:
    865
    W Karas
    Dec 3, 2012
Loading...

Share This Page