MCPcopy Create free account
hub / github.com/Effect-TS/effect / padding

Function padding

packages/effect/src/encoding/Tar.ts:558–558  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

556const PERMISSION_BITS = 0o7777
557
558const padding = (size: number): number => (BLOCK - (size % BLOCK)) % BLOCK
559
560const isZeroBlock = (block: Uint8Array): boolean => {
561 for (let i = 0; i < BLOCK; i++) {

Callers 2

advanceMethod · 0.70
endMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected