BlobData | @here/olp-sdk-ts
Class BlobData Abstract
Hierarchy
- BlobData
Index
Constructors
Methods
Constructors
constructor
Returns BlobData
Methods
Optional Abstract finally
This method should always be called at the end of the reading process so that we can properly clean up.
Returns Promise<void>
Abstract read Bytes
Gets buffer from a range of data.
Parameters
offset: number
The first byte of the data range for reading.
count: number
The number of bytes to read from the underlying data. This value will be trimmed if the count exceeded the EOF or end of the stream.
Returns Promise<ArrayBufferLike>
The
Promiseobject with the buffer.
Abstract size
Gets the size of the data.
Returns number
The
Promiseobject with the length of the data in bytes.
Generated using TypeDoc
An abstraction for
BlobDatainstances.The wrapper of data (
Blob,Buffer,File, string, and so on) that allows to read a specific range of bytes and get data size.