Skip to content

Commit

Permalink
Provide clear explanation for unexpected value of prefix byte (#2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlabensky-sana authored Aug 9, 2023
1 parent d959f08 commit c9d0559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ TelemetryBuffer.FromBuffer(new byte[] {0xfc, 0xff, 0xff, 0xff, 0x7f, 0x0, 0x0, 0
// => 2147483647
```

If the prefix byte is not one of `-8`, `-4`, `-2`, `2` or `4` then `0` should be returned.
If the prefix byte is of unexpected value then `0` should be returned.

0 comments on commit c9d0559

Please sign in to comment.