Blob
in
Blob
Tags
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
getSize()
Returns the size of the byte sequence in number of bytes.
public
getSize() : int
Tags
Return values
intgetType()
The ASCII-encoded string in lower case representing the media type of the Blob.
public
getType() : string
Tags
Return values
stringslice()
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