Documentation

Blob

Blob

Tags
link
https://www.w3.org/TR/FileAPI/#dfn-Blob

Table of Contents

Methods

getSize()  : int
Returns the size of the byte sequence in number of bytes.
getType()  : string
The ASCII-encoded string in lower case representing the media type of the Blob.
slice()  : Blob
The slice() method returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

Methods

slice()

The slice() method returns a new Blob object with bytes ranging from the optional start parameter up to but not including the optional end parameter, and with a type attribute that is the value of the optional contentType parameter.

public slice([int $start = null ][, int $end = null ][, string $contentType = null ]) : Blob
Parameters
$start : int = null
$end : int = null
$contentType : string = null
Tags
see
https://www.w3.org/TR/FileAPI/#dfn-slice
Return values
Blob

        
On this page

Search results