package ezgzip
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  # ezgzip - Simple gzip (de)compression library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.2.0.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=369b0110706dde80cc676fd5b79f0d7095254b7fe28aba815a2a2359c41cbbfb
    
    
  md5=22057f2528e282a1af961b36f61d5271
    
    
  doc/ezgzip/Ezgzip/index.html
Module EzgzipSource
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 ]) resultdecompress src decompresses the content from the gzip-compressed src.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page