external unsafe_set_substr : buffer -> int -> string -> unit =
      "caml_extunixba_set_substr"