package avro

  1. Overview
  2. Docs

Compression codecs for data blocks

type t
val null : t
val deflate : t
val find_by_name : string -> t option
val find_by_name_exn : string -> t
val name : t -> string
val register : name:string -> compress:(string -> string) -> decompress:(string -> string) -> unit -> t

Register decompression codecs. Defaults are "null" and "deflate".

val register' : name:string -> compress:(string -> string) -> decompress:(string -> string) -> unit -> unit
OCaml

Innovation. Community. Security.