Import std.text.encoding
DetectBom
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.
Report an issue with this page or with FutureBlitz on GitHub.