Jacek Sieka 5cf4feabea
leb128 + bitops fixes (#66)
Leb128 is a variable-length encoding for unsigned integers that is used
in a number of contexts - in particular, wasm, dwarf and protobuf.

This is an optimized low-level implementation that unrolls the loop
reading/writing the buffer - it is suitable to use as base for a more
specific API - no memory allocations, no exceptions.

This PR also fixes bitops2 to not raise on certaing uint->int
conversions, adapting bitops to nim 1.0 conversion rules by using a cast
instead of raising on uint->int conversion
2020-12-15 17:07:20 +02:00
..
2019-12-20 13:23:30 +01:00
2020-12-10 12:05:22 +01:00
2020-06-15 21:09:41 +07:00
2020-12-10 12:05:22 +01:00
2020-12-10 12:05:22 +01:00
2019-12-20 13:23:30 +01:00
2020-12-10 12:05:22 +01:00
2020-12-15 17:07:20 +02:00
2019-09-26 18:25:19 +03:00
2020-12-10 12:05:22 +01:00