package zstd

  1. Overview
  2. Docs

Parameters

module F : Cstubs.FOREIGN

Signature

val version_number : (unit -> int F.return) F.result
val get_error_name : (Unsigned.size_t -> string F.return) F.result
val is_error : (Unsigned.size_t -> bool F.return) F.result
val get_frame_content_size : (string -> Unsigned.size_t -> Unsigned.ullong F.return) F.result
val compress : (unit Ctypes_static.ptr -> Unsigned.size_t -> string -> Unsigned.size_t -> int -> Unsigned.size_t F.return) F.result
val cctx : [ `CCtx ] Ctypes.structure Ctypes.typ
val create_cctx : (unit -> [ `CCtx ] Ctypes.structure Ctypes_static.ptr F.return) F.result
val dctx : [ `DCtx ] Ctypes.structure Ctypes.typ
val create_dctx : (unit -> [ `DCtx ] Ctypes.structure Ctypes_static.ptr F.return) F.result
val compress_using_dict : ([ `CCtx ] Ctypes.structure Ctypes_static.ptr -> unit Ctypes_static.ptr -> Unsigned.size_t -> string -> Unsigned.size_t -> string -> Unsigned.size_t -> int -> Unsigned.size_t F.return) F.result
val decompress_using_dict : ([ `DCtx ] Ctypes.structure Ctypes_static.ptr -> unit Ctypes_static.ptr -> Unsigned.size_t -> string -> Unsigned.size_t -> string -> Unsigned.size_t -> Unsigned.size_t F.return) F.result
OCaml

Innovation. Community. Security.