near-api-js - v7.2.0
    Preparing search index...
    • Converts an input argument to a Uint8Array, handling cases for both JSON and Uint8Array.

      Parameters

      • args: any

        The input argument, either JSON object or Uint8Array.

      Returns Uint8Array

      A Uint8Array representation of the input argument.