Function encoding::has_BOM(const std::vector<uint8_t>&)

Function Documentation

bool encoding::has_BOM(const std::vector<uint8_t> &bytes)

Return

boolean indicating whether this string has the UTF BOM

Parameters
  • bytes: vector of bytes to check. Should be containing UTF-16 string