Actually, scratch almost all of what I just said in the previous post. A binary string representation of a number is always read from right to left, no matter the what the endianness is and no matter if you're a dyslexic Arab...at least according to http://wiki.answers.com/Q/Why_do_you_read_binary_digits_right_to_left. So the most significant bit ought to be left-most which is how I'm creating this thing.
As to left shifting being inherently big-endian, not according to: http://www.velocityreviews.com/forums/t440773-bit-shifts-and-endianness.html -- and -- http://cboard.cprogramming.com/tech-board/98466-endianness-bit-shifting.html I will test on OSX's perl and see if the results are as one expects. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=49028 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
