diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2025-12-16 09:10:45 -0800 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2025-12-18 14:42:47 -0800 |
| commit | d0b72429a93e54f1f956b4aedfc25c57dc7001aa (patch) | |
| tree | 1e4303fd43d1b99972922bfdbb61fee6836b7bc5 /include/ruby/ruby.h | |
| parent | 73e930f9f911cf71ecb416c3112a7818bae41cd6 (diff) | |
Add support for signed and unsigned LEB128 to pack/unpack.
This commit adds a new pack format command `R` and `r` for unsigned and
signed LEB128 encoding. The "r" mnemonic is because this is a
"vaRiable" length encoding scheme.
LEB128 is used in various formats including DWARF, WebAssembly, MQTT,
and Protobuf.
[Feature #21785]
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions
