Slices the blob. The returned blob contains data from the start byte
(inclusive) till the end byte (exclusive). Negative indices can be used
to count bytes from the end of the blob (-1 == blob.size - 1). Indices
are always clamped to blob range. If end is omitted, all the data till
the end of the blob is taken.
Parameters | blob | Blob | | The blob to be sliced.
| start | number | | Index of the starting byte.
| opt_end | number= | | Index of the ending byte.
|
|
---|
Returns | (Blob|null) | The blob slice or null if not supported.
|
|
---|