Bernard Miller <forbytext / yahoo.com> writes: > I canÃÕ seem to find a way to do bitwise ops on a > byte, at least using the standard library. In fact, > when the bytes from a string are converted to > integers, they are converted to platform dependent > integers, so one might argue that it is impossible to > do any platform independent bitwise ops in a > straightforward way in ruby. Perhaps not related to what you are looking for, but I have written a bit construction, matching, and extraction module. http://www.ruby-lang.org/raa/list.rhtml?id=775 Yours, YS.