Skip to content

Variable Length Quantity could do with a more detailed example table #2027

Open

Description

@Gautzilla

I think the example table with only hexadecimal input and output values can be a little confusing.

On the wikipedia VLQ page, the array details the binary input, the binary output and the hexadecimal output to make the conversion clearer.

Shouldn't the exercise page also specify these steps?
I would suggest adding columns to the table and putting them in the following order:

hexadecimal input | binary input | binary output | hexadecimal output

and emphasize the n°7 bit of each output byte (which is set to 0 in the last byte and set to 1 in the preceding bytes) by making it bold.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions