[Jprogramming] segregation boxing on bitvectors

Raoul Schorer raoul.schorer at gmail.com
Thu Oct 21 17:01:26 UTC 2021


Hi,

Really trivial question I am stuck on:

given a bit vector
0 1 0 1 1 1 0 0

how to easily sequentially box 1s & 0s? Such as:
|0|1|0|1 1 1|0 0|

Thanks!
Raoul


More information about the Programming mailing list