MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / operator ==

Method operator ==

Kernel-Bridge/API/StringsAPI.h:283–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281 }
282
283 bool operator == (const TChar* Str) {
284 if (Data.Buffer == Str) return true;
285 size_t StrLength = Length(Str);
286 if (Data.Length != StrLength) return false;
287 return RtlCompareMemory(Data.Buffer, Str, StrLength) == StrLength;
288 }
289 bool operator == (const String& String) {
290 if (Data.Buffer == String.Data.Buffer) return true;
291 if (Data.Length != String.Data.Length) return false;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected