package ocaml-base-compiler

  1. Overview
  2. Docs
type ('a, 'b, 'c) t
val create : ('a, 'b) kind -> 'c layout -> int -> ('a, 'b, 'c) t
val dim : ('a, 'b, 'c) t -> int
val kind : ('a, 'b, 'c) t -> ('a, 'b) kind
val layout : ('a, 'b, 'c) t -> 'c layout
val size_in_bytes : ('a, 'b, 'c) t -> int
val get : ('a, 'b, 'c) t -> int -> 'a
val set : ('a, 'b, 'c) t -> int -> 'a -> unit
val sub : ('a, 'b, 'c) t -> int -> int -> ('a, 'b, 'c) t
val blit : ('a, 'b, 'c) t -> ('a, 'b, 'c) t -> unit
val fill : ('a, 'b, 'c) t -> 'a -> unit
val of_array : ('a, 'b) kind -> 'c layout -> 'a array -> ('a, 'b, 'c) t
val map_file : Unix.file_descr -> ?pos:int64 -> ('a, 'b) kind -> 'c layout -> bool -> int -> ('a, 'b, 'c) t
val unsafe_get : ('a, 'b, 'c) t -> int -> 'a
val unsafe_set : ('a, 'b, 'c) t -> int -> 'a -> unit
OCaml

Innovation. Community. Security.