Function base64ToTypedArray

  • When using Buffer.from() node is using a buffer from the buffer pool. This makes it necessary to create the given TypedArray using byteOffset and byteLength accordingly.

    Note: The created TypedArray.buffer is pointing probably to a larger Buffer. Make sure to use byteLength/byeOffset correctly or use typedArrayToArrayBuffer() if you want to use a raw ArrayBuffer that represents the actual data correctly.

    Type Parameters

    • K

    Parameters

    Returns K

Generated using TypeDoc