From 7f5e08883f234980f5f0e776bb887cec99294a9f Mon Sep 17 00:00:00 2001 From: c-cube Date: Fri, 1 Jul 2022 01:14:32 +0000 Subject: [PATCH] deploy: f9abed084ef7880517d7c43cd3f4d5d91e062e81 --- dev/containers/Containers_cbor/.dummy | 0 dev/containers/Containers_cbor/index.html | 2 ++ dev/containers/index.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 dev/containers/Containers_cbor/.dummy create mode 100644 dev/containers/Containers_cbor/index.html diff --git a/dev/containers/Containers_cbor/.dummy b/dev/containers/Containers_cbor/.dummy new file mode 100644 index 00000000..e69de29b diff --git a/dev/containers/Containers_cbor/index.html b/dev/containers/Containers_cbor/index.html new file mode 100644 index 00000000..b23f4815 --- /dev/null +++ b/dev/containers/Containers_cbor/index.html @@ -0,0 +1,2 @@ + +Containers_cbor (containers.Containers_cbor)

Module Containers_cbor

CBOR encoder/decoder.

The type is chosen to be compatible with ocaml-cbor. See the RFC.

note this is experimental.

note this is only available on OCaml >= 4.08. Below that, the module is empty.

type t = [
| `Null
| `Undefined
| `Simple of int
| `Bool of bool
| `Int of int
| `Float of float
| `Bytes of string
| `Text of string
| `Array of t list
| `Map of (t * t) list
| `Tag of int * t
]
val pp_diagnostic : t CCFormat.printer
val to_string_diagnostic : t -> string
val encode : ?buf:Stdlib.Buffer.t -> t -> string
val decode : string -> ( t, string ) Stdlib.result
val decode_exn : string -> t

Like decode.

  • raises Failure

    if the string isn't valid

\ No newline at end of file diff --git a/dev/containers/index.html b/dev/containers/index.html index 17ee5bf0..999af188 100644 --- a/dev/containers/index.html +++ b/dev/containers/index.html @@ -1,2 +1,2 @@ -index (containers.index)

containers index

Library containers

This library exposes the following toplevel modules:

Library containers.bencode

The entry point of this library is the module: Containers_bencode.

Library containers.codegen

The entry point of this library is the module: Containers_codegen.

Library containers.monomorphic

The entry point of this library is the module: CCMonomorphic.

Library containers.top

The entry point of this library is the module: Containers_top.

Library containers.unix

The entry point of this library is the module: CCUnix.

\ No newline at end of file +index (containers.index)

containers index

Library containers

This library exposes the following toplevel modules:

Library containers.bencode

The entry point of this library is the module: Containers_bencode.

Library containers.cbor

The entry point of this library is the module: Containers_cbor.

Library containers.codegen

The entry point of this library is the module: Containers_codegen.

Library containers.monomorphic

The entry point of this library is the module: CCMonomorphic.

Library containers.top

The entry point of this library is the module: Containers_top.

Library containers.unix

The entry point of this library is the module: CCUnix.

\ No newline at end of file