You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I am downloading arbitrary data stored in B2 bucket, the content-length header has the correct byte length of 208374 but when I call:
Buffer.byteLength(resp.data)
where resp is the await return value from b2.downloadFileById(), I get 378415. Even the backblaze UI shows that the size is 208.4 kB. What is the correct way to decode the data sent from the downloadFileById() method to get the correct-size Buffer or Uint8 array?
The text was updated successfully, but these errors were encountered:
Hello,
When I am downloading arbitrary data stored in B2 bucket, the content-length header has the correct byte length of 208374 but when I call:
where resp is the await return value from
b2.downloadFileById()
, I get 378415. Even the backblaze UI shows that the size is 208.4 kB. What is the correct way to decode the data sent from thedownloadFileById()
method to get the correct-size Buffer or Uint8 array?The text was updated successfully, but these errors were encountered: