def utf8

bend-kit-json@0.7.0.0 · json.bend:113

import bend-kit-json@0.7.0.0/json.bend as Json
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

113# Text, one Char per code point, as UTF-8.
114def utf8(s: String) -> Bytes.Bytes:
115  w.done(w.text(s, w.new()))

Uses (5)

Used by (8)