Feature #6361

Bitwise string operations

Added by MartinBosslet (Martin Bosslet) over 8 years ago. Updated about 8 years ago.

Target version:


I know this has been discussed a lot in the past (and if there's still
an open issue for this, I apologize, I couldn't find one), for example
in [1]. While it is generally no problem to implement this on the fly,
I still find that built-in support would be a real improvement. There
are quite some use cases in cryptography where this would come in very
handy, but I'm sure there are lots of other areas, too.

While of course I understand the reasons that were given in the previous
threads that ultimately lead to rejection, I still would like to reopen
the discussion as I felt that in every thread so far the consensus was
that having bitwise string operations would indeed be quite valuable.



bytestring001.tar.gz (3.39 KB) bytestring001.tar.gz MartinBosslet (Martin Bosslet), 04/30/2012 11:52 AM
bytestring-002.tar.gz (3.47 KB) bytestring-002.tar.gz MartinBosslet (Martin Bosslet), 05/03/2012 09:07 AM
6361-proposal.pdf (25.4 KB) 6361-proposal.pdf jballanc (Joshua Ballanco), 06/30/2012 12:13 AM

Related issues

Related to Ruby master - Feature #6767: Utility method to get a duplicated string whose encoding is ASCII-8BITClosednaruse (Yui NARUSE)07/22/2012Actions

Also available in: Atom PDF