• Allocate a new buffer of the given size. For smaller sizes, the allocation will be from the default buffer pool, similar to Buffer.alloc in Node.js

    Parameters

    • size: number

    Returns Uint8Array