Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/src/inputFile.ts>InputFile

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
class InputFile
import { InputFile } from "https://deno.land/x/appwrite@12.1.0/src/inputFile.ts";

Constructors

new
InputFile(
stream: ReadableStream<Uint8Array>,
filename: string,
size: number,
)

Properties

filename: string
size: number
stream: ReadableStream<Uint8Array>

Static Properties

fromBlob: (blob: Blob, filename: string) => unknown
fromBuffer: (buffer: Uint8Array, filename: string) => InputFile
fromPath: (filePath: string, filename: string) => InputFile
fromPlainText: (content: string, filename: string) => InputFile