package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated [2016-09] this element comes from the stdlib distributed with OCaml. Refering to the stdlib directly is discouraged by Base. You should either use the equivalent functionality offered by Base, or if you really want to refer to the stdlib, use Caml.Marshal instead
  • deprecated [2016-09] this element comes from the stdlib distributed with OCaml. Refering to the stdlib directly is discouraged by Base. You should either use the equivalent functionality offered by Base, or if you really want to refer to the stdlib, use Caml.Marshal instead
type extern_flags = Marshal.extern_flags =
  1. | No_sharing
  2. | Closures
  3. | Compat_32
val to_channel : Pervasives.out_channel -> 'a -> extern_flags list -> unit
val to_bytes : 'a -> extern_flags list -> bytes
val to_string : 'a -> extern_flags list -> string
val to_buffer : bytes -> int -> int -> 'a -> extern_flags list -> int
val from_channel : Pervasives.in_channel -> 'a
val from_bytes : bytes -> int -> 'a
val from_string : string -> int -> 'a
val header_size : int
val data_size : bytes -> int -> int
val total_size : bytes -> int -> int
OCaml

Innovation. Community. Security.