(options?: DecodeOptions)
| 476 | * @since 4.0.6 |
| 477 | */ |
| 478 | export const decodeString = <IE = never, Done = unknown>(options?: DecodeOptions): Channel.Channel< |
| 479 | Arr.NonEmptyReadonlyArray<Event>, |
| 480 | XmlError | IE, |
| 481 | Done, |
| 482 | Arr.NonEmptyReadonlyArray<string>, |
| 483 | IE, |
| 484 | Done |
| 485 | > => { |
| 486 | const parser = makeParser(options, false) |
| 487 | return makeChannel<string, Event, IE, Done>(() => new TextInput(parser())) |
| 488 | } |
| 489 | |
| 490 | /** |
| 491 | * Creates a channel that decodes UTF-8 XML bytes into events. |
nothing calls this directly
no test coverage detected