package core

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file binable.ml

1
2
3
4
5
6
7
open! Import
include Binable_intf
include Binable0

(* [of_string] and [to_string] can't go in binable0.ml due to a cyclic dependency. *)
let of_string m string = of_bigstring m (Bigstring.of_string string)
let to_string m t = Bigstring.to_string (to_bigstring m t)
OCaml

Innovation. Community. Security.