@salvobee/crypto-vault
    Preparing search index...

    Function toBuffer

    • Convert a Uint8Array to a Node.js Buffer.

      Parameters

      • data: Uint8Array

        Bytes to wrap in a Buffer.

      Returns NodeBuffer

      A Buffer instance containing the same bytes.

      If Buffer support is unavailable.