MCPcopy Create free account
hub / github.com/cinder/Cinder / is_bom

Function is_bom

include/utf8cpp/core.h:317–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315 //Deprecated in release 2.3
316 template <typename octet_iterator>
317 inline bool is_bom (octet_iterator it)
318 {
319 return (
320 (utf8::internal::mask8(*it++)) == bom[0] &&
321 (utf8::internal::mask8(*it++)) == bom[1] &&
322 (utf8::internal::mask8(*it)) == bom[2]
323 );
324 }
325} // namespace utf8
326
327#endif // header guard

Callers

nothing calls this directly

Calls 1

mask8Function · 0.85

Tested by

no test coverage detected