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

Defined in

node_modules/.pnpm/@ethereumjs+util@9.1.0/node_modules/@ethereumjs/util/dist/esm/bytes.d.ts:56