Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Unicode

Unicode code point Input/Output/Writer factory.

The Unicode.stringInput(...) function returns an Input that reads the Unicode code points of a string.

The Unicode.stringOutput(...)} function returns an Output that writes Unicode code points to an internal buffer, and binds a string containing all written code points.

Hierarchy

  • Unicode

Index

Methods

Static stringInput

  • stringInput(string: string): Input

Static stringOutput

  • Returns a new Output that appends Unicode code points to the given string, using the given output settings. The returned Output accepts an unbounded number of code points, remaining permanently in the cont state, and binds a string containing the given string, and all appended code points.

    Parameters

    Returns Output<string>

  • Returns a new Output that buffers Unicode code points, using the given output settings. The returned Output accepts an unbounded number of code points, remaining permanently in the cont state, and binds a string containing all written code points.

    Parameters

    Returns Output<string>

Static stringWriter

  • stringWriter<I>(): Writer<I, unknown>
  • stringWriter<I, O>(input: O): Writer<I, O>

Static writeString

  • writeString<I>(input: unknown, output: Output): Writer<I, unknown>