package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type extern_flags = Marshal.extern_flags =
  1. | No_sharing
  2. | Closures
  3. | Compat_32
val output : 'b BatInnerIO.output -> ?sharing:bool -> ?closures:bool -> 'a -> unit
val to_bytes : 'a -> extern_flags list -> Bytes.t
val to_string : 'a -> extern_flags list -> string
val to_buffer : Bytes.t -> int -> int -> 'a -> extern_flags list -> int
val input : BatInnerIO.input -> 'a
val from_bytes : Bytes.t -> int -> 'a
val from_string : string -> int -> 'a
val header_size : int
val data_size : Bytes.t -> int -> int
val total_size : Bytes.t -> int -> int
val to_channel : 'b BatInnerIO.output -> 'a -> extern_flags list -> unit
val from_channel : BatInnerIO.input -> 'a
OCaml

Innovation. Community. Security.