stdlib_stable
Float32.Bigstring
compiler-libs.bytecomp
compiler-libs.common
compiler-libs.optcomp
compiler-libs.toplevel
dynlink
eval
jit
runtime_events
stdlib
stdlib_alpha
stdlib_beta
stdlib_upstream_compatible
str
threads
unix
type t = (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
val get : t -> pos:int -> float32
get b ~pos loads a float32 from b at an offset of pos bytes.
get b ~pos
b
pos
Invalid_argument
if pos is outside the range 0 to length b - 4.
length b - 4
val unsafe_get : t -> pos:int -> float32
unsafe_get b ~pos loads a float32 from b at an offset of pos bytes. Does not check that pos is a valid offset.
unsafe_get b ~pos
val set : t -> pos:int -> float32 -> unit
set b ~pos f stores a float32 to b at an offset of pos bytes.
set b ~pos f
val unsafe_set : t -> pos:int -> float32 -> unit
unsafe_set b ~pos f stores a float32 to b at an offset of pos bytes. Does not check that pos is a valid offset.
unsafe_set b ~pos f