Trait stdweb::traits::IBlob [] [src]

pub trait IBlob: ReferenceType {
    fn len(&self) -> u64 { ... }
fn mime(&self) -> Option<String> { ... } }

A blob object represents a file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format.

(JavaScript docs)

Provided Methods

The size, in bytes, of the data contained in the Blob object.

(JavaScript docs)

A string indicating the MIME type of the data contained in the Blob.

(JavaScript docs)

Implementors