package carton

  1. Overview
  2. Docs

Module H.RSource

Sourcetype src = [
  1. | `Channel of in_channel
  2. | `Manual
  3. | `String of string
]
Sourcetype decode = [
  1. | `Await
  2. | `Header of int * int
  3. | `Copy of int * int
  4. | `Insert of string
  5. | `End
  6. | `Malformed of string
]
Sourcetype decoder
Sourceval src : decoder -> bigstring -> int -> int -> unit
Sourceval src_rem : decoder -> int
Sourceval src_len : decoder -> int
Sourceval dst_len : decoder -> int
Sourceval decode : decoder -> decode
Sourceval decoder : src -> decoder
OCaml

Innovation. Community. Security.