ion-js icon indicating copy to clipboard operation
ion-js copied to clipboard

Writable stream's write method doesn't work with Uint8Array

Open desaikd opened this issue 5 years ago • 0 comments

While using Writable stream to write Uint8Array on command line(process.stdout) using write method of Writable stream throws runtime error stating "Invalid data, chunk must be a string or buffer, not object". But the write method document suggests that it supports Uint8Array. Although the error message went away when switched to any data type rather than Writable.

desaikd avatar Sep 09 '20 23:09 desaikd