General Structure
The encoding assumes an octet (an eight-bit byte) where the most significant bit (MSB), also commonly known as the sign bit, is reserved to indicate whether another VLQ octet follows.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|
27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
A | Bn |
If A is 0, then this is the last VLQ octet of the integer. If A is 1, then another VLQ octet follows.
B is a 7-bit number and n is the position of the VLQ octet where B0 is the least significant. The VLQ octets are arranged most significant first in a stream.
Read more about this topic: Variable-length Quantity
Famous quotes containing the words general and/or structure:
“Towards him they bend
With awful reverence prone; and as a God
Extoll him equal to the highest in Heavn:
Nor faild they to express how much they praisd,
That for the general safety he despisd
His own: for neither do the Spirits damnd
Loose all thir vertue; lest bad men should boast
Thir specious deeds on earth, which glory excites,
Or close ambition varnisht oer with zeal.”
—John Milton (16081674)
“Im a Sunday School teacher, and Ive always known that the structure of law is founded on the Christian ethic that you shall love the Lord your God and your neighbor as yourselfa very high and perfect standard. We all know the fallibility of man, and the contentions in society, as described by Reinhold Niebuhr and many others, dont permit us to achieve perfection.”
—Jimmy Carter (James Earl Carter, Jr.)