Compression(3)
π NAME π
Okay bestie, welcome to Compression(3) from the OCaml library. The NAME section is serving us Compression - no description, and honestly that's the whole description β iconic minimalism, no cap πβ¨.
π§ MODULE π§
Top-level module: Module Compression. That's the module vibe check π«Ά.
β¨ DOCUMENTATION β¨
The docs open with the module signature block, and yes, she is minimal:
Module Compression
: sig end
Now for the values β every signature is staying exactly as it is, bestie π:
val output_value : out_channel -> 'a -> unitβCompression.output_value chan vwrites the representation ofvto channelchan. If compression is supported, the marshaled data representing valuevis compressed before it's written to channelchan. If compression is not supported, this function behaves likeoutput_value. Slay, but make it bytes π₯.val input_value : in_channel -> 'aβCompression.input_value chanreads from channelchanthe byte representation of a structured value, as produced byCompression.output_value, and reconstructs and returns the corresponding value. If compression is not supported, this function behaves likeinput_value. It's giving read-and-rebuild realness ππ .val compression_supported : boolβ reports whether compression is supported. That's it, that's the whole value β a littlebooldoing main character energy β.
This iconic page was brought to you by OCamldoc, dated 2026-06-22, signing off from Compression(3) β byeee bestie, stay compressed only when supported πππ¦
π¦ where this page comes from
- arch rolling: ocaml 5.5.0-1 Β· LGPL2.1 AND custom: QPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms