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
..
2020-12-10 12:05:22 +01:00
2020-12-10 17:08:24 +01:00
2019-12-13 15:31:19 +02:00
2019-12-13 15:31:19 +02:00
2019-12-13 15:31:19 +02:00
2020-12-15 17:07:20 +02:00
2020-06-03 11:22:32 +02:00
2020-12-10 12:05:22 +01:00
2019-07-06 19:12:24 +02:00
2019-10-23 09:36:16 +09:00
2020-12-15 17:07:20 +02:00
2020-06-03 11:22:32 +02:00
2020-05-07 07:11:43 +02:00
2019-07-06 19:12:24 +02:00
2020-04-07 11:43:07 +02:00
2020-06-25 19:01:01 +02:00
2020-12-10 12:05:22 +01:00
2019-07-06 19:12:24 +02:00
2020-12-15 17:07:20 +02:00

Candidates for standard library inclusion - functions and helpers that are too small to put in their own git repository