Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ByteOutputUint8Array

Hierarchy

Index

Constructors

constructor

Properties

Readonly array

array: null | Uint8Array

Readonly settings

settings: OutputSettings

Readonly size

size: number

Methods

asPart

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

    • part: boolean

    Returns Output<Uint8Array>

bind

  • bind(): Uint8Array
  • Returns Uint8Array

clone

  • Returns Output<Uint8Array>

cloneArray

  • cloneArray(): null | Uint8Array
  • Returns null | Uint8Array

debug

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

    • object: unknown

    Returns Output<Uint8Array>

display

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

    • object: unknown

    Returns Output<Uint8Array>

flush

  • Returns Output<Uint8Array>

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

toUint8Array

  • toUint8Array(): Uint8Array
  • Returns Uint8Array

trap

  • trap(): Error
  • Returns Error

withSettings

write

  • write(b: string | number): Output<Uint8Array>
  • Parameters

    • b: string | number

    Returns Output<Uint8Array>

writeln

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

    • Optional string: string

    Returns Output<Uint8Array>

Static done

  • Returns Output<never>

Static error

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

    • error: Error

    Returns Output<never>

Static expand

  • expand(n: number): number
  • Parameters

    • n: number

    Returns number

Static full

  • Returns Output<never>

Generated using TypeDoc