Returns true if a blob of text starts with a UTF-16 big or little endian byte order mark.
Declared in <llvm/Support/ConvertUTF.h>
bool
hasUTF16ByteOrderMark(ArrayRef<char> SrcBytes);
true if SrcBytes starts with a UTF-16 BOM.
| Name | Description |
|---|---|
| SrcBytes | Raw bytes to inspect for a leading UTF-16 BOM. |