package rpmfile

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Collection of decoders for convert from Header.Entry.value to user type.

type 'a decoder = Header.Entry.value -> 'a
exception Error of string
val fail : string -> 'a
val string : Header.Entry.value -> string
val binary : Header.Entry.value -> bytes
val any : 'a -> 'a
val char : Header.Entry.value -> char
val int : Header.Entry.value -> int
val int32 : Header.Entry.value -> int32
val int64 : Header.Entry.value -> int64
val native_int : Header.Entry.value -> int
val string_array : Header.Entry.value -> string list
val array : (Header.Entry.value -> 'a) -> Header.Entry.value -> 'a list
val (<<) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
OCaml

Innovation. Community. Security.