Home | History | Annotate | Download | only in src

Lines Matching full:byte

42 // length.  The least significant 7 bits of each byte hold 7 bits of data,
43 // and the most significant bit is set on each byte except the last. The
56 uint8_t byte = value & 127;
63 // The sign bit of byte is second high order bit.
64 const bool sign_bit = byte & 64;
68 byte |= 128;
69 encoding_.push_back(byte);
101 uint8_t byte;
103 // Loop until we reach a byte with its high order bit clear.
105 byte = encoding_[cursor_++];
106 value |= (static_cast<uint_t>(byte & 127) << shift);
108 } while (byte & 128);
110 // The sign bit is second high order bit of the final byte decoded.
112 if (shift < size && (byte & 64))