Skip to content

bzero

bzero<T>(size?): T

Returns zero bytes of the given size.

Type parameters

• T = Brand<string, "bytes">

Parameters

• size?: IntLike

the number of zero bytes to return. If not given, returns the size of the type given the type argument

Returns

T

Source

types/global.d.ts:1235