Source/Packages

Data.UTF8

packages/foundation/standard/src/Data/UTF8.alpha

1,298 lines193 declarations53.6 KiBSHA-256 4bef3dfd330d

constructor · lines 164–164

UTF8PendingFourC

Full file
Pending multi-byte context for the byte-at-a-time decoder (see `decodeUTF8`). `Ready` is a codepoint boundary; the others hold the lead byte and the continuation bytes collected so far while more are awaited. `ThreeA`/`FourA` also carry the lead's byte offset, the only states whose error (overlong / surrogate / out-of-range) is reported AT the lead rather than at the byte being read.
164constructor UTF8PendingFourC

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.