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

Method CopyCat

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

Source from the content-addressed store, hash-verified

97 }
98
99 static VOID CopyCat(OUT TChar* Dest, const IN TChar* First, size_t FirstLength, const IN TChar* Second, size_t SecondLength) {
100 if (!Dest) return;
101 if (First && FirstLength) {
102 RtlCopyMemory(Dest, First, FirstLength * sizeof(TChar));
103 Dest += FirstLength;
104 }
105 if (Second && SecondLength) {
106 RtlCopyMemory(Dest, Second, SecondLength * sizeof(TChar));
107 Dest += SecondLength;
108 }
109 *Dest = NullChar;
110 }
111
112 bool Concat(const IN TChar* Str) {
113 return Concat(Str, Length(Str));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected