Variable UnicodeConst

Unicode: {
    stringInput(string) => Input;
    stringOutput(string?, settings?) => Output<string>;
    stringOutput(settings?) => Output<string>;
    stringWriter<I>() => Writer<I, unknown>;
    stringWriter<I_1, O>(input) => Writer<I_1, O>;
    writeString<I_2>(output, input) => Writer<I_2, unknown>;
}

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 [[Output.bind binds]] a string containing all written code points.

Type declaration

  • stringInput:function
    • Parameters

      • string: string

      Returns Input

  • stringOutput:function
    • 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 [[Output.bind binds]] a string containing the given string, and all appended code points.

      Parameters

      Returns Output<string>

    • 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 [[Output.bind binds]] a string containing the given string, and all appended code points.

      Parameters

      Returns Output<string>

  • stringWriter:function
    • Type Parameters

      • I

      Returns Writer<I, unknown>

    • Type Parameters

      • I_1

      • O

      Parameters

      • input: O

      Returns Writer<I_1, O>

  • writeString:function
    • Type Parameters

      • I_2

      Parameters

      • output: Output<unknown>
      • input: unknown

      Returns Writer<I_2, unknown>

Generated using TypeDoc