Wraps a text-based iopipe to make sure all code units are decodeable.
When an iopipe is made up of character types, in some cases a slice of the
window may not be completely decodeable. For example, a wchar iopipe may
have only one half of a surrogate pair at the end of the window.
This function generates an iopipe that only allows completely decodeable
sequences to be released to the next iopipe.
Wraps a text-based iopipe to make sure all code units are decodeable.
When an iopipe is made up of character types, in some cases a slice of the window may not be completely decodeable. For example, a wchar iopipe may have only one half of a surrogate pair at the end of the window.
This function generates an iopipe that only allows completely decodeable sequences to be released to the next iopipe.