Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Utf8EncodedOutput<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • output: Output<T>
    • errorMode: UtfErrorMode
    • c2: number
    • c3: number
    • c4: number
    • index: number

    Returns Utf8EncodedOutput<T>

Properties

c2

c2: number

c3

c3: number

c4

c4: number

Readonly errorMode

errorMode: UtfErrorMode

index

index: number

Readonly output

output: Output<T>

Accessors

settings

  • Returns OutputSettings

Methods

asPart

  • asPart(part: boolean): Output<T>
  • Parameters

    • part: boolean

    Returns Output<T>

bind

  • bind(): T
  • Returns T

clone

  • Returns Output<T>

debug

  • debug(object: unknown): Output<T>
  • Parameters

    • object: unknown

    Returns Output<T>

display

  • display(object: unknown): Output<T>
  • Parameters

    • object: unknown

    Returns Output<T>

flush

  • Returns Output<T>

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

isFull

  • isFull(): boolean
  • Returns boolean

isPart

  • isPart(): boolean
  • Returns boolean

push

  • push(...tokens: number[]): void
  • Parameters

    • Rest ...tokens: number[]

    Returns void

trap

  • trap(): Error
  • Returns Error

withSettings

write

  • write(token: string | number): Output<T>
  • Parameters

    • token: string | number

    Returns Output<T>

writeln

  • writeln(string?: string): Output<T>
  • Parameters

    • Optional string: string

    Returns Output<T>

Static create

  • Type parameters

    • T

    Parameters

    Returns Output<T>

Static done

  • Returns Output<never>

Static error

  • error(error: Error): Output<never>
  • Parameters

    • error: Error

    Returns Output<never>

Static full

  • Returns Output<never>

Generated using TypeDoc