Module Eio_brr.Blob

Blob objects.

val array_buffer : Brr.Blob.t -> Brr.Tarray.Buffer.t

array_buffer b is an array buffer with the contents of b.

val text : Brr.Blob.t -> Jstr.t

text b is the string that results from UTF-8 decoding the contents of b.

val data_uri : Brr.Blob.t -> Jstr.t

data_uri b is b as a data URI (via the FileReader API).