Skip to content

Commit

Permalink
Expand for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBishop committed Oct 30, 2020
1 parent 5b60a9a commit 5c18ee9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion draft-ietf-quic-transport.md
Expand Up @@ -7494,7 +7494,8 @@ ReadVarint(data):
// The length of variable-length integers is encoded in the
// first two bits of the first byte.
v = data.next_byte()
length = (1 << (v >> 6))
prefix = v >> 6
length = 1 << prefix

// Once the length is known, remove these bits and read any
// remaining bytes.
Expand Down

0 comments on commit 5c18ee9

Please sign in to comment.