Skip to main content

text_from_bytes

Function text_from_bytes 

Source
pub fn text_from_bytes(bytes: &LogosSeq<i64>) -> String
Expand description

Rebuild a Text from a Seq of Int of UTF-8 bytes (the text_from_bytes builtin, AOT — the exact inverse of text_bytes). Inputs originate from text_bytes, so the bytes are always valid UTF-8; the lossy fallback only guards against a hand-built malformed Seq.