Options
All
  • Public
  • Public/Protected
  • All
Menu

The Deno abstraction for reading and writing files.

Hierarchy

  • File

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new File(rid: number): File
  • Parameters

    • rid: number

    Returns File

Properties

rid

rid: number

Methods

close

  • close(): void
  • Returns void

read

  • Parameters

    • p: Uint8Array

    Returns Promise<ReadResult>

seek

  • seek(offset: number, whence: SeekMode): Promise<void>
  • Parameters

    Returns Promise<void>

write

  • write(p: Uint8Array): Promise<number>
  • Parameters

    • p: Uint8Array

    Returns Promise<number>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc