Skip to content
FutureBlitz

    Install

    Import std.text.encoding

    DetectBom

    std.text.encoding

    function

    Public Function DetectBom(bytes: UInt8[]): TextEncoding?

    The encoding a BOM at the start of bytes is for, or Null when they start with none. UTF-32 LE's BOM starts as UTF-16 LE's does, so it's looked for first.

    std/text/encoding.fb, line 216

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