1
0
mirror of https://github.com/fluencelabs/libp2p-ts synced 2025-03-30 17:01:05 +00:00
2018-06-28 17:01:39 +02:00

9 lines
149 B
TypeScript

// @ts-ignore
import varint from 'varint';
varint.encode(300);
varint.encode.bytes;
varint.decode(Buffer.from([0xa7, 0x02]));
varint.decode.bytes;