package riot

  1. Overview
  2. Docs
type bytestring = t
type t
val create : unit -> t
val add_string : t -> ?size:int -> bytestring -> unit
val add_bits : t -> ?size:int -> int -> unit
val add_utf8 : t -> ?size:int -> bytestring -> unit
val add_literal_int : t -> ?size:int -> int -> unit
val add_literal_utf8 : t -> ?size:int -> Stdlib.String.t -> unit
val add_literal_string : t -> ?size:int -> Stdlib.String.t -> unit
val commit : t -> bytestring
OCaml

Innovation. Community. Security.