Skip to content

Commit 1aba65b

Browse files
committed
refactor: rewrite encoder to minimize internal buffer usage
1 parent ba9c98a commit 1aba65b

File tree

9 files changed

+336
-145
lines changed

9 files changed

+336
-145
lines changed

src/codec/lz4/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl Drop for DecoderContext {
3232
}
3333

3434
impl Lz4Decoder {
35-
pub fn new() -> Self {
35+
pub(crate) fn new() -> Self {
3636
Self {
3737
ctx: Unshared::new(DecoderContext::new().unwrap()),
3838
}

0 commit comments

Comments
 (0)