Skip to content
FutureBlitz

    Install

    Import std.text.encoding

    Decode

    std.text.encoding

    function

    Public Function Decode(bytes: UInt8[], encoding: TextEncoding): String?

    The text bytes hold in encoding, or Null when they aren't that: ASCII with a byte past 0x7F, or UTF-8, UTF-16, or UTF-32 that isn't well-formed, like half a surrogate pair. A BOM at their start stays, as U+FEFF; DecodeAny takes it off.

    std/text/encoding.fb, line 163

    Report an issue with this page or with FutureBlitz on GitHub.