Skip to content

Commit 6643ec3

Browse files
variable-length-quantity: fix grammar (#2043)
1 parent 4326086 commit 6643ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/variable-length-quantity/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Implement variable length quantity encoding and decoding.
55
The goal of this exercise is to implement [VLQ](https://en.wikipedia.org/wiki/Variable-length_quantity) encoding/decoding.
66

77
In short, the goal of this encoding is to encode integer values in a way that would save bytes.
8-
Only the first 7 bits of each byte is significant (right-justified; sort of like an ASCII byte).
8+
Only the first 7 bits of each byte are significant (right-justified; sort of like an ASCII byte).
99
So, if you have a 32-bit value, you have to unpack it into a series of 7-bit bytes.
1010
Of course, you will have a variable number of bytes depending upon your integer.
1111
To indicate which is the last byte of the series, you leave bit #7 clear.

0 commit comments

Comments
 (0)