Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v23
with:
globs: "**/*.md"

- uses: actions/setup-python@v7
with:
python-version: "3.11"
Expand Down
8 changes: 8 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"MD013": {
"line_length": 100
},
"MD024": {
"siblings_only": true
}
}
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ trivial):

The value should be converted to the appropriate number of bytes for its
assigned type. The complete internal 9-byte buffer comprises three parts:
* _prefix byte_: a byte indicating the number of the payload bytes in the

- _prefix byte_: a byte indicating the number of the payload bytes in the
buffer;
* _payload bytes_: the bytes holding the integer;
* _trailing bytes_: the zero-fill bytes to complete the buffer.
- _payload bytes_: the bytes holding the integer;
- _trailing bytes_: the zero-fill bytes to complete the buffer.

To distinguish between signed and unsigned types, the protocol introduces a
little trick: for signed types, their _prefix byte_ value is `256` minus the
Expand Down Expand Up @@ -182,4 +183,4 @@ Make is optional. Run `make` or `make help` to list these commands in the termin

## Credits and references

* <https://exercism.org/tracks/csharp/exercises/hyper-optimized-telemetry>
- <https://exercism.org/tracks/csharp/exercises/hyper-optimized-telemetry>