Revision 0a56a234ed94dd17f2c5515764314b64ed115bbe authored by Jerome Vouillon on 07 November 2011, 16:37:34 UTC, committed by Roberto Di Cosmo on 07 November 2011, 16:45:20 UTC
1 parent d9ca454
Raw File
bytearray.mli
(* Unison file synchronizer: src/bytearray.mli *)
(* Copyright 1999-2010, Benjamin C. Pierce (see COPYING for details) *)

type t =
  (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t

val create : int -> t

val length : t -> int

val to_string : t -> string

val of_string : string -> t

val sub : t -> int -> int -> string

val blit_from_string : string -> int -> t -> int -> int -> unit

val blit_to_string : t -> int -> string -> int -> int -> unit

val prefix : t -> t -> int -> bool

val marshal : 'a -> Marshal.extern_flags list -> t

val unmarshal : t -> int -> 'a
back to top