Class PathIO

Index

Methods

Methods

public static appendLinesAsync(absolutePath: string, lines: IIterable): IAsyncAction

Parameters

Returns

IAsyncAction

public static appendLinesAsync(absolutePath: string, lines: IIterable, encoding: UnicodeEncoding): IAsyncAction

Parameters

Returns

IAsyncAction

public static appendTextAsync(absolutePath: string, contents: string): IAsyncAction

Parameters

  • absolutePath: string
  • contents: string

Returns

IAsyncAction

public static appendTextAsync(absolutePath: string, contents: string, encoding: UnicodeEncoding): IAsyncAction

Parameters

Returns

IAsyncAction

public static readBufferAsync(absolutePath: string): IAsyncOperation

Parameters

  • absolutePath: string

Returns

IAsyncOperation

public static readLinesAsync(absolutePath: string): IAsyncOperation

Parameters

  • absolutePath: string

Returns

IAsyncOperation

public static readLinesAsync(absolutePath: string, encoding: UnicodeEncoding): IAsyncOperation

Parameters

Returns

IAsyncOperation

public static readTextAsync(absolutePath: string): IAsyncOperation

Parameters

  • absolutePath: string

Returns

IAsyncOperation

public static readTextAsync(absolutePath: string, encoding: UnicodeEncoding): IAsyncOperation

Parameters

Returns

IAsyncOperation

public static writeBufferAsync(absolutePath: string, buffer: IBuffer): IAsyncAction

Parameters

  • absolutePath: string
  • buffer: IBuffer

Returns

IAsyncAction

public static writeBytesAsync(absolutePath: string, buffer: Uint8Array): IAsyncAction

Parameters

  • absolutePath: string
  • buffer: Uint8Array

Returns

IAsyncAction

public static writeLinesAsync(absolutePath: string, lines: IIterable): IAsyncAction

Parameters

Returns

IAsyncAction

public static writeLinesAsync(absolutePath: string, lines: IIterable, encoding: UnicodeEncoding): IAsyncAction

Parameters

Returns

IAsyncAction

public static writeTextAsync(absolutePath: string, contents: string): IAsyncAction

Parameters

  • absolutePath: string
  • contents: string

Returns

IAsyncAction

public static writeTextAsync(absolutePath: string, contents: string, encoding: UnicodeEncoding): IAsyncAction

Parameters

Returns

IAsyncAction