-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite ReadBitsInt{Be,Le}(), change param type from
uint8
to int
See kaitai-io/kaitai_struct#949 Changing the parameter type is potentially a breaking change, because calls like ReadBitsIntBe(uint8(15)) will no longer work. But this will not be a problem for KSC-generated code, it could only break manually-written (or manually-patched) code. `ReadBitsInt(n uint8)` is intentionally left as it was, since it exists only to maintain backward compatibility and will be removed at some point.
- Loading branch information
1 parent
dfb7177
commit a5c5c1e
Showing
2 changed files
with
35 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters