bend-kit-encoding
Releases (4)
Definitions (24)
encoding.bend
- type OutOctets being written: the buffer, the count so far, and the word being filled.
- def putBytes enter at the top of w, as in Bytes.from_string; every fourth byte stores the word.
- def done
- def utf8.width
- def utf8.size
- def utf8.cont
- def utf8.push4
- def utf8.push3
- def utf8.push2
- def utf8.push
- def utf8.encode.go
- def utf8.encodeText to octets.
- type Utf8Decoder state: continuation bytes still needed, the allowed range of the next one, the code point so far, and the output reversed.
- def utf8.bad
- def utf8.lead.multi
- def utf8.lead.high
- def utf8.leadWHATWG: a byte that cannot start a sequence decodes to U+FFFD.
- def utf8.more
- def utf8.cont.inWHATWG: a byte that breaks a sequence yields U+FFFD and is read again as a lead.
- def utf8.step.if
- def utf8.step.st
- def utf8.finish
- def utf8.decode.go
- def utf8.decodeOctets to text, as WHATWG decodes UTF-8: malformed input becomes U+FFFD.