Up – Index » js_of_ocaml-eio » Js_of_ocaml_eio » FileModule Js_of_ocaml_eio.File include module type of struct include Js_of_ocaml .File end class type blob = object ... end type !'a make_blob =
?contentType :string ->
?endings :[ `Native | `Transparent ] ->
'a ->
blob Js_of_ocaml__ .Js.t val blob_from_any :
[ `arrayBuffer of Js_of_ocaml__ .Typed_array.arrayBuffer Js_of_ocaml__ .Js.t
| `arrayBufferView of
Js_of_ocaml__ .Typed_array.arrayBufferView Js_of_ocaml__ .Js.t
| `blob of blob Js_of_ocaml__ .Js.t
| `js_string of Js_of_ocaml__ .Js.js_string Js_of_ocaml__ .Js.t
| `string of string ]
list
make_blob class type file = object ... end type file_any = Js_of_ocaml__File .file_any module CoerceTo : sig ... end type readyState = Js_of_ocaml__File .readyState = | EMPTY | LOADING | DONE module ReaderEvent : sig ... end val filename :
file Js_of_ocaml__ .Js.t ->
Js_of_ocaml__ .Js.js_string Js_of_ocaml__ .Js.tval fileReader : fileReader Js_of_ocaml__ .Js.t Js_of_ocaml__ .Js.constrval addEventListener :
(progressEventTarget as 'a) Js_of_ocaml__ .Js.t ->
'b Js_of_ocaml__ .Dom.Event.typ ->
('a Js_of_ocaml__ .Js.t , 'b ) Js_of_ocaml__ .Dom.event_listener ->
bool Js_of_ocaml__ .Js.t ->
Js_of_ocaml__ .Dom.event_listener_idinclude module type of struct include File end val readAsBinaryString :
Js_of_ocaml .File.blob Js_of_ocaml .Js.t ->
Js_of_ocaml .Js.js_string Js_of_ocaml .Js.tval readAsText :
Js_of_ocaml .File.blob Js_of_ocaml .Js.t ->
Js_of_ocaml .Js.js_string Js_of_ocaml .Js.tval readAsText_withEncoding :
Js_of_ocaml .File.blob Js_of_ocaml .Js.t ->
Js_of_ocaml .Js.js_string Js_of_ocaml .Js.t ->
Js_of_ocaml .Js.js_string Js_of_ocaml .Js.tval readAsDataURL :
Js_of_ocaml .File.blob Js_of_ocaml .Js.t ->
Js_of_ocaml .Js.js_string Js_of_ocaml .Js.t