Added binary ANDs with 0xffL to ensure only 8 bits are considered when ORing negative byte values. Added simple test to ensure it's implemented.
Merge pull request #2 from hbs/hbs/negative-byte-values

Added binary ANDs with 0xffL to ensure only 8 bits are considered