Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
vic-ma committed Jun 7, 2024
1 parent 403b571 commit c7fc8ab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions course-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,17 @@ stages:
The first two bits of a size-encoded value indicate how the value should be parsed. Here's a guide (bits are shown in both hexadecimal and binary):
```
If the first two bits are 0b00:
The size is the remaining 6 bits of the byte.
In this example, the size is 10:
/* If the first two bits are 0b00:
The size is the remaining 6 bits of the byte.
In this example, the size is 10: */
0A
00001010
If the first two bits are 0b01:
The size is the next 14 bits
(remaining 6 bits in the first byte, combined with the next byte),
in big-endian (read left-to-right).
In this example, the size is 700:
/* If the first two bits are 0b01:
The size is the next 14 bits
(remaining 6 bits in the first byte, combined with the next byte),
in big-endian (read left-to-right).
In this example, the size is 700: */
42 BC
01000010 10111100
Expand Down

0 comments on commit c7fc8ab

Please sign in to comment.