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.5.0.tbz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=73183dc1186ab6cf1ca641146f6948f2fae6a69729ec0a1e62943385f9895077
    
    
  sha512=31508b4ae16f6850fd86391f4bb3f950bba12ac45398c8ddb1b6e74f6a96f6a150b81377d6fd49146f1f0789c43a761d709d1d73a782d9c0df0d00a3c9663c89
    
    
  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 the- inputis not recognized as a LZO contents.
- `Invalid_argumentif- outputis not large enough to contain inflated contents.
- `Invalid_dictionaryif an op-code of- inputrefers 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)"
  >