implement .getBinaryByteLength() #1

Open
opened 2024-06-07 15:16:03 +00:00 by philkunz · 0 comments
Owner

When downloading binaries, often it is favorable to know beforehand what size a download has.

There are multiple ways to determine byteLength, either using headers, or, by actually streaming the binary and counting the bytes.

.getBinaryByteLength should be a utility function that implements cascading ways, going from most performant to most expensive.

When downloading binaries, often it is favorable to know beforehand what size a download has. There are multiple ways to determine byteLength, either using headers, or, by actually streaming the binary and counting the bytes. .getBinaryByteLength should be a utility function that implements cascading ways, going from most performant to most expensive.
philkunz added the
enhancement
label 2024-06-07 15:16:03 +00:00
philkunz self-assigned this 2024-06-07 15:16:03 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: push.rocks/smartrequest#1
No description provided.