File: marshal.mli

package info (click to toggle)
ocaml-stdcompat 20~git20240529-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,540 kB
  • sloc: ml: 34,099; sh: 861; makefile: 249
file content (16 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
type extern_flags =
  | No_sharing 
  | Closures 
  | Compat_32 
val to_channel : out_channel -> 'a -> extern_flags list -> unit
external to_bytes :
  'a -> extern_flags list -> bytes = "caml_output_value_to_bytes"
external to_string :
  'a -> extern_flags list -> string = "caml_output_value_to_string"
val to_buffer : bytes -> int -> int -> 'a -> extern_flags list -> int
val from_channel : 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