Skip to content

zeros

zeros(bytes): Uint8Array

Returns a Uint8Array filled with 0s.

Parameters

bytes: number

the number of bytes of the Uint8Array

Returns

Uint8Array

Source

node_modules/.pnpm/@ethereumjs+util@9.0.3/node_modules/@ethereumjs/util/dist/esm/bytes.d.ts:50