package decompress
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Implementation of Zlib and GZip in OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
decompress-1.4.3.tbz
sha256=b22254ae5eb7747452267fc976a3a0ba408c5afdae0896cac4068b4d79ed5a3d
sha512=96f62147f4e0548bb7c4680c4f9d7492a2b4a9e15bc100447b16842e3d1b43ed902fdef03907e1416c174a0586428e515f2deef53ed04098a0443a535938dd6d
doc/decompress.lzo/Lzo/index.html
Module LzoSource
uncompress input output returns a sub-layout of output which is the inflated contents of input. Otherwise, it returns:
`Malformedif theinputis not recognized as a LZO contents.`Invalid_argumentifoutputis not large enough to contain inflated contents.`Invalid_dictionaryif an op-code ofinputrefers to an unbound location.
uncompress ?chunk input returns a fresh-allocated string which is the inflated contents of input. An internal Buffer.t is used and it can be initialized with chunk (default to 0x1000). Otherwise, it returns same errors as uncompress.
compress input output wrkmem deflates input and produces a LZO contents into output. It uses wrkmem to do the deflation. It returns the number of bytes wrotes into output such as:
let len = compress input output wrkmem in
Bigarray.Array1.sub output 0 lenis the deflated contents of input.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>