and refactored the "test" task in libp2p.nimble
The error in the code was that the `vsizeof(n)` was called with a dummy zeroed variable, instead of the proper size of the buffer. This resulted in an assertion failure when the prefix length needs to be stored in more than 1 byte.
Generalize Varint.