jon.recoil.org

Module Float32_u.BigstringSource

Sourceval get : t -> pos:int -> float32#

get b ~pos loads a float32 from b at an offset of pos bytes.

Sourceval 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.

Sourceval set : t -> pos:int -> float32# -> unit

set b ~pos f stores a float32 to b at an offset of pos bytes.

Sourceval 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.