gossamer/blob
Types
Values
pub fn array_buffer(
of blob: Blob,
) -> promise.Promise(Result(array_buffer.ArrayBuffer, String))
pub fn bytes(
of blob: Blob,
) -> promise.Promise(Result(uint8_array.Uint8Array, String))
pub fn from_bytes(bytes: uint8_array.Uint8Array) -> Blob
pub fn from_bytes_with_type(
bytes: uint8_array.Uint8Array,
content_type content_type: String,
) -> Blob
pub fn from_string(content: String) -> Blob
pub fn from_string_with_type(
content: String,
content_type content_type: String,
) -> Blob
pub fn slice_with_type(
blob: Blob,
from start: Int,
to end: Int,
content_type content_type: String,
) -> Blob
pub fn stream(
of blob: Blob,
) -> readable_stream.ReadableStream(uint8_array.Uint8Array)
pub fn text(
of blob: Blob,
) -> promise.Promise(Result(String, String))