package conduit-mirage

  1. Overview
  2. Docs
type buffer = Cstruct.t

The type for memory buffer.

type g

The state of the generator.

val generate : ?g:g -> int -> buffer

generate ~g n generates a random buffer of length n using g.

OCaml

Innovation. Community. Security.