A byte (octet) is the usual unit of digital storage and can represent the integers 0 to 255 but not 256. Simple bit shifting is not enough to divide accurately by 256 because the least significant bit needs special treatment if you hope for accuracy.