![]() When you look at a regular single-byte character, (we're totally going to skip multi-byte and wide-characters here) A byte represented as a hex character is and that represents both halfs of a byte (we call a half-byte a nibble).Therefore, two hex characters, can store 8 bits, 2**8 combinations.16 is 2**4: that means one hex character can store 4 bits in a byte (half a byte).16 is less than 256, so one one hex character does not store a byte.8 bits provides 2**8 possible combinations: 256 combinations.To be clear on the bits vs byte, vs characters. A hex "character" (nibble) is different from a "character"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |