package ezgzip
# ezgzip - Simple gzip (de)compression library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.2.1.tar.gz
sha256=102046af4c64956656e9eb683e4066a5d05ccfefd7f12aaa02243bfeacc405f5
md5=6a0f8aa64541a32691f9884f0ef8737f
doc/ezgzip/Ezgzip/index.html
Module Ezgzip
Source
gzip compression
Source
type error =
| Truncated of string
(*Extracted size is greater than the allowed maximum size
*)| Invalid_format
(*Invalid data format
*)| Compression_error of string
(*zlib error
*)| Size of {
}
(*Extracted size does not match what was expected based on the source metadata
*)| Checksum
(*Extracted content checksum does not match what was expected based on the source metadata
*)
Possible error cases
compress src
returns a gzip-compressed version of src
.
Source
val decompress :
?ignore_size:bool ->
?ignore_checksum:bool ->
?max_size:int ->
string ->
(string, [> `Gzip of error ]) result
decompress src
decompresses the content from the gzip-compressed src
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page