Skip to content

Commit

Permalink
fix more typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Moelf committed Nov 2, 2023
1 parent 7ce3ca8 commit 9c79227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ function decompress_datastreambytes(compbytes, tkey)
output_size = uncompbytes
_decompress_lz4!(input_ptr, input_size, output_ptr, output_size)
elseif cname == "ZL"
output = @view(uncomp_data[fulfilled+1:fufilled+uncompbytes])
output = @view(uncomp_data[fulfilled+1:fulfilled+uncompbytes])
zlib_decompress!(Decompressor(), output, rawbytes, uncompbytes)
elseif cname == "XZ"
@view(uncomp_data[fulfilled+1:fufilled+uncompbytes]) .= transcode(XzDecompressor, rawbytes)
@view(uncomp_data[fulfilled+1:fulfilled+uncompbytes]) .= transcode(XzDecompressor, rawbytes)
elseif cname == "ZS"
@view(uncomp_data[fulfilled+1:fufilled+uncompbytes]) .= transcode(ZstdDecompressor, rawbytes)
@view(uncomp_data[fulfilled+1:fulfilled+uncompbytes]) .= transcode(ZstdDecompressor, rawbytes)
else
error("Unsupported compression type '$(String(compression_header.algo))'")
end
Expand Down

0 comments on commit 9c79227

Please sign in to comment.