Skip to main content
Module

x/commandis/mod.ts>dom.Blob

Official framework for Corddis lib ( for Deno only )
Latest
interface dom.Blob
import { type dom } from "https://deno.land/x/commandis@v0.6.5/mod.ts";
const { Blob } = dom;

A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.

Properties

readonly
size: number
readonly
type: string

Methods

arrayBuffer(): Promise<ArrayBuffer>
slice(
start?: number,
end?: number,
contentType?: string,
): Blob
stream(): ReadableStream
text(): Promise<string>