std:text/UTF8
std:text/UTF8
Section titled “std:text/UTF8”Canonical occurrence:
protos/lib/text/UTF8.protos· Protos revision:e99b712ecf658a527b1fe82c8beba2c1286d8dc9.
UTF-8 text encoding helpers: one-shot conversion and UTF-8 text-I/O wrappers.
Observable top-level slots
Section titled “Observable top-level slots”This page lists the complete mechanically observable top-level slot inventory required by D067. Authored documentation, when present, is canonical D062 prose; mechanical presence alone does not create a stability or compatibility promise.
decode
Section titled “decode”Decodes bytes with Encoding.UTF8, answering a String.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
bytes -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:24 -
Exact source page: open in the source browser
encode
Section titled “encode”Encodes text with Encoding.UTF8, answering a fresh Bytes value.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
text -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:19 -
Exact source page: open in the source browser
owningReader
Section titled “owningReader”Answers a fresh owning TextReader that decodes source as UTF-8.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
source -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:34 -
Exact source page: open in the source browser
owningWriter
Section titled “owningWriter”Answers a fresh owning TextWriter that encodes to target as UTF-8.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
target -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:44 -
Exact source page: open in the source browser
reader
Section titled “reader”Answers a fresh borrowing TextReader that decodes source as UTF-8.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
source -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:29 -
Exact source page: open in the source browser
writer
Section titled “writer”Answers a fresh borrowing TextWriter that encodes to target as UTF-8.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
target -
Rest parameter: none
-
Source occurrence:
protos/lib/text/UTF8.protos:39 -
Exact source page: open in the source browser
Exact module source · Standard-library API · Standard library overview