BufferUtils
You can directly use an instance of this class.
bufferUtils
This BufferUtils class provide methods for fetch/write/read buffer @todo: verify on web environment
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
async fetchBuffer(url: URL ): Promise fetch buffer content from given url |
|
public |
readBuffer(url: URL ): Promise fetch buffer content from given url |
|
public |
async writeBuffer(url: URL ): Promise write buffer content from given content |
Public Constructors
public constructor() source
Public Methods
public async fetchBuffer(url: URL ): Promise source
fetch buffer content from given url
Params:
Name | Type | Attribute | Description |
url | URL | url for csv content |
Return:
Promise | data promise with data if success |
TODO:
- enhance reject case
public readBuffer(url: URL ): Promise source
fetch buffer content from given url
Params:
Name | Type | Attribute | Description |
url | URL | url for csv content |
Return:
Promise | data promise with data if success |
TODO:
- enhance reject case
public async writeBuffer(url: URL ): Promise source
write buffer content from given content
Params:
Name | Type | Attribute | Description |
url | URL | url for csv content |
Return:
Promise | data promise with data if success |
TODO:
- enhance reject case