Talk:Variable-length quantity: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
Line 2: Line 2:
How about making the task more concrete by, say, changing it to a task to show the bits of 12345678901234566789 as binary then as Vlq - mabe grouping into 8 bit octets for readability? Then a function to change back and display the result . --[[User:Paddy3118|Paddy3118]] 16:00, 14 October 2010 (UTC)
How about making the task more concrete by, say, changing it to a task to show the bits of 12345678901234566789 as binary then as Vlq - mabe grouping into 8 bit octets for readability? Then a function to change back and display the result . --[[User:Paddy3118|Paddy3118]] 16:00, 14 October 2010 (UTC)
:Done! [[User:Dingowolf|dingowolf]] 16:58, 14 October 2010 (UTC)
:Done! [[User:Dingowolf|dingowolf]] 16:58, 14 October 2010 (UTC)

==Vlq octet order==
The wp article states:
: ''VLQ octets are arranged most significant first in a stream.''
Which doesn't make sense as the least significant octet has to be sent first so that its eighth bit can be sampled to see if there will be another octet or not. --[[User:Paddy3118|Paddy3118]] 15:14, 15 October 2010 (UTC)

Revision as of 15:14, 15 October 2010

Concrete

How about making the task more concrete by, say, changing it to a task to show the bits of 12345678901234566789 as binary then as Vlq - mabe grouping into 8 bit octets for readability? Then a function to change back and display the result . --Paddy3118 16:00, 14 October 2010 (UTC)

Done! dingowolf 16:58, 14 October 2010 (UTC)

Vlq octet order

The wp article states:

VLQ octets are arranged most significant first in a stream.

Which doesn't make sense as the least significant octet has to be sent first so that its eighth bit can be sampled to see if there will be another octet or not. --Paddy3118 15:14, 15 October 2010 (UTC)