i've had a similar object kicking around in my library for a while, i also have a similar object for recombining bits.
attached.
pix.
On Mon, 07 Jul 2003 07:56:10 -0400 Marc Lavallée odradek@videotron.ca wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 6 Jul 2003, Marc Lavallée wrote:
I'm looking for an object or a simple abstraction to decode the bit values of a integer ( Ex: 5 = 101, so bit 0 = 1, bit 1 = 0, bit 2 = 1). If it doesn't exist, I can program a simple external. Marc
Le 7 Juillet 2003 00:24, Mathieu Bouchard a écrit :
see attachment
Interesting solution, but I need to get the values of specific bits, not a "stream of bits". I found a good solution (attached). Sleep helps sometimes...
Marc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/CV/aQdzoeKQ0PccRApyYAJ4r6xnUn72rPQiWxGz0liIgDtxY+gCg4Xv1 sEIVYlv40BgY9KsmkKESsr4= =Nw31 -----END PGP SIGNATURE-----
--