Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextFileObject

TextFileObject preserves text-based Warcraft III map files such as JASS and Lua scripts.

Hierarchy

  • TextFileObject

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected _bytes

_bytes: Buffer = Buffer.alloc(0)

Protected _encoding

_encoding: BufferEncoding

Accessors

bytes

  • get bytes(): Buffer
  • set bytes(bytes: Buffer): void

encoding

  • get encoding(): BufferEncoding

text

  • get text(): string
  • set text(text: string): void

Methods

dump

  • dump(): Buffer

read

  • read(buffer: Buffer): void

Generated using TypeDoc