package hdf5

  1. Overview
  2. Docs
type e = t
type t
val make : int -> t
val init : int -> (int -> e -> unit) -> t
val length : t -> int
val unsafe_get : t -> int -> e
val get : t -> int -> e
val iter : t -> f:(e -> unit) -> unit
val iteri : t -> f:(int -> e -> unit) -> unit
val make_table : t -> ?title:string -> ?chunk_size:int -> ?compress:bool -> H5.t -> string -> unit

Creates and writes a table.

val append_records : t -> H5.t -> string -> unit

Adds records to the end of the table.

val write_records : t -> H5.t -> start:int -> string -> unit

Ovewrites records.

val read_table : H5.t -> string -> t

Reads a table.

val read_records : H5.t -> start:int -> nrecords:int -> string -> t

Reads records.

val write : t -> ?deflate:int -> H5.t -> string -> unit

Writes records.

val read : H5.t -> ?data:t -> string -> t

Reads records.

val data : t -> Hdf5_raw.H5tb.Data.t

Retrieves the pointer to the data.

OCaml

Innovation. Community. Security.