Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Blob

Hierarchy

  • Blob

Index

Constructors

Constructors

constructor

  • new Blob(size?: Number, defaultByteValue?: Number, mimeType?: String): WAKBlobInstance
  • Creates a new blob.

    var myBlob = new Blob( 20 , 88, 'application/octet-stream');
    var myString = myBlob.toString();
    // XXXXXXXXXXXXXXXXXXXX

    Parameters

    • Optional size: Number

      (default: 0 byte) Size of the new Blob

    • Optional defaultByteValue: Number

      (default: 0) Defines the character code set as the default value to each blob byte

    • Optional mimeType: String

      Defines the media type of the Blob

    Returns WAKBlobInstance