@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Function decodeFileName

    • Decodes a B2 percent-encoded file name back to a plain string.

      B2 percent-encoding is compatible with standard decodeURIComponent, so this is a thin wrapper.

      Parameters

      • encoded: string

        The percent-encoded file name from B2.

      Returns string

      The decoded file name.