Umi — API References - v1.3.0
    Preparing search index...

    Function createGenericFile

    • Creates a new GenericFile from a buffer and a file name.

      Parameters

      • content: string | Uint8Array<ArrayBufferLike>
      • fileName: string
      • options: GenericFileOptions = {}

      Returns GenericFile