implement .getBinaryByteLength() #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.