Skip to content

log inputBlobReader instanceof Uint8Array,the console shows false #278

Answered by hugetiny
hugetiny asked this question in Q&A
Discussion options

You must be logged in to vote
const inputBlobReader = new zip.BlobReader(inputBlob);
const buffer = await inputBlobReader.readUint8Array(0,inputBlobReader.size)
console.log(buffer instanceof Uint8Array)// true
console.log(buffer.length)// 0

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gildas-lormeau
Comment options

@hugetiny
Comment options

@gildas-lormeau
Comment options

Answer selected by hugetiny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants