Add multi-bit operations to folly/experimental/Bits.h
authorTudor Bosman <tudorb@fb.com>
Wed, 4 Jul 2012 00:02:05 +0000 (17:02 -0700)
committerTudor Bosman <tudorb@fb.com>
Fri, 13 Jul 2012 23:28:09 +0000 (16:28 -0700)
commit2a4a4178b6b25d8633143361686fa283655a53f7
treeeb295ca8c7dd11101aa6731b899f561e932e4eed
parente9ee87a62bd54db5fb5c8c8d64151ed2aa75f449
Add multi-bit operations to folly/experimental/Bits.h

Summary: Add ability to set and get N consecutive bits from the bit sequence.

Test Plan: test added

Reviewed By: lucian@fb.com

FB internal diff: D511438
folly/experimental/Bits.h
folly/experimental/test/BitsTest.cpp