Coerce a buffer or string into a string.

  • Parameters

    • input: string | Buffer<ArrayBufferLike>

      The Buffer or string that should be coerced to a string.

    Returns string

    The string representation of the given parameter.