-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ReadBitBuffer
: Implement a function to read the ISO 14496-1 expande…
…d field. - The behavior mirrors `ReadLeb128`, expect bytes are accumulated in big-endian order and the upper limit varies depending on the field. - Unify logic with `ReadLeb128` processing by providing a custom accumulator and custom upper limit. - Drive-by: Unify duplicate logic in the different `ReadUleb128` interfaces. - As an analog of `leb128` : Support logic of reading in padded zero bytes for safety (up to 8 bytes). PiperOrigin-RevId: 662502476
- Loading branch information
Showing
4 changed files
with
188 additions
and
49 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
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