ffpr - v0.7.0
    Preparing search index...

    Function pack

    • Encodes save data into the contents of a save file.

      Parameters

      • data: Data

        Save data, as returned by unpack.

      • type: Type = 'switch'

        Platform to encode the save file for.

      Returns Promise<Buffer<ArrayBufferLike>>

      Contents of the save file.

      If pictureData is not a Buffer, Uint8Array or base64 string.