Octet (computing) Octet (computing) The octet is a unit of digital information in computing and telecommunications that consists of eight bits. The term is often used when the term byte might be ambiguous, as the byte has historically been used for storage units of a variety of sizes. The term "octad(e)" for eight bits is no longer common. A variable-length sequence of octets, as in Abstract Syntax Notation One (ASN.1), is referred to as an octet string. The international standard IEC 60027-2, chapter 3.8.2, states that a byte is an octet of bits. However, the unit byte has historically been platform-dependent and
LEB128 single byte 0x00. As an example, here is how the unsigned number 624485 gets encoded: Unsigned LEB128 and VLQ (variable-length quantity) both compress any given integer into not only the same number of bits, but exactly the same bits—the two formats differ only in exactly how those bits are arranged. A signed number is represented similarly, except that the two's complement number is sign extended up to a multiple of 7 bits (ensuring that the most significant bit is zero for a positive number and one for a negative number). Then the number is broken into groups as for the