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

      Parameters

      • args: any

        The input argument, either JSON object or Uint8Array.

      Returns Buffer

      A Buffer representation of the input argument.