···45Consider this entire package experimental, things **will** break.
67-## Github is not the primary repository
89-If you're reading this on Github, keep in mind that this package is not developed here; the only code that lives here is the main branch, put here to allow others to access it easier. Development takes place on my personal Gitlab instance, which should also explain the `.gitlab-ci.yml` file ;)
···45Consider this entire package experimental, things **will** break.
67+## Tangled is not the primary repository
89+If you're reading this on tangled, keep in mind that this package is not developed here; the only code that lives here is the main branch, put here to allow others to access it easier. Development takes place on my personal Gitlab instance, which should also explain the `.gitlab-ci.yml` file ;)
+3-2
lib/Multiformats/Varint.pm
···6162 while($expect_next) {
63 die 'Multiformats::Varint::varint_decode_stream: no next byte to read' if $stream->eof;
64- my $next_byte;
65- my $bread = $stream->read($next_byte, 1);
066 $x += ($next_byte & 0b01111111) << (7 * $num_bytes_read);
67 $expect_next = ($next_byte >> 7 == 0b1) ? 1 : undef;
68 $num_bytes_read += $bread;
···6162 while($expect_next) {
63 die 'Multiformats::Varint::varint_decode_stream: no next byte to read' if $stream->eof;
64+ my $raw_byte;
65+ my $bread = $stream->read($raw_byte, 1);
66+ my $next_byte = unpack('C', $raw_byte);
67 $x += ($next_byte & 0b01111111) << (7 * $num_bytes_read);
68 $expect_next = ($next_byte >> 7 == 0b1) ? 1 : undef;
69 $num_bytes_read += $bread;