MCPcopy Create free account
hub / github.com/denoland/std / calcSizeBase32

Function calcSizeBase32

encoding/_common32.ts:52–54  ·  view source on GitHub ↗
(rawSize: number)

Source from the content-addressed store, hash-verified

50 * ```
51 */
52export function calcSizeBase32(rawSize: number): number {
53 return ((rawSize + 4) / 5 | 0) * 8;
54}
55
56export function encode(
57 buffer: Uint8Array_,

Callers 6

transformMethod · 0.90
flushMethod · 0.90
encodeBase32Function · 0.90
encodeBase32Function · 0.90
encodeIntoBase32Function · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected