Something went wrong. Try again.
Suite of AT Protocol TypeScript libraries built on web standards
Something went wrong. Try again.
1234567891011121314151617/** * Returns a `Uint8Array` of the requested size. Referenced memory will * be initialized to 0. */export function alloc(size: number = 0): Uint8Array { return new Uint8Array(size);}
/** * Where possible returns a Uint8Array of the requested size that references * uninitialized memory. Only use if you are certain you will immediately * overwrite every value in the returned `Uint8Array`. */export function allocUnsafe(size: number = 0): Uint8Array { return new Uint8Array(size);}