• Shortcut for allocating a buffer and filling it with the given data, similar to Buffer.from in Node.js

    Parameters

    • init: ArrayLike<number>

    Returns Uint8Array