package rpmfile

  1. Overview
  2. Docs

Representation of Header and Signature sections.

type record = {
  1. number_of_index : int;
  2. section_size : int;
}
and index_record = {
  1. tag : int;
  2. kind : int;
  3. offset : int;
  4. count : int;
}
and index_value =
  1. | Null
  2. | Char of char
  3. | Int of int
  4. | Int32 of int32
  5. | Int64 of int64
  6. | String of string
  7. | Binary of Bigstringaf.t
  8. | StringArray of string list
  9. | Array of index_value list
val any_int : int Angstrom.t
val header_record_parser : record Angstrom.t
val index_value_parser : section_offset:int -> index_record -> index_value Angstrom.t
val parser : selector:(int -> bool) -> (int * index_value) list Angstrom.t
OCaml

Innovation. Community. Security.