module Util:sig
..end
In 4.02.0, s.[i] <- c
becomes deprecated and this is
very frustrating for CamlImages.
We introduce (<<)
and replace them by s << i & c
.
val (&) : ('a -> 'b) -> 'a -> 'b
val (<<) : bytes -> int -> char -> unit
Bytes.set
val (<<!) : bytes -> int -> char -> unit
Bytes.unsafe_set
val range_check : bytes -> int -> int -> unit
range_check bs from to_
raises Invalid_argument "index out of bounds"
when from
and to_
are invalid range for bs
.val (>@!) : 'a array -> int -> 'a
Array.unsafe.get