fix: safe encode bits to check for 2^num_bits <= byte we are encoding
fix: I thought namedDeBruijn takes advantage of Binder for encoding and decoding. It does not... fix: Debruijn was being converted to NamedDeBruijn incorrectly
This commit is contained in:
@@ -320,6 +320,6 @@ impl Encoder {
|
||||
self.buffer.push(chunk.len() as u8);
|
||||
self.buffer.extend(chunk);
|
||||
}
|
||||
self.buffer.push(0);
|
||||
self.buffer.push(0_u8);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user