MCPcopy Create free account
hub / github.com/andrivet/ADVobfuscator / encode

Method encode

include/advobfuscator/string.h:112–117  ·  view source on GitHub ↗

Encode an array of characters. \param str The string of characters to be encoded.

Source from the content-addressed store, hash-verified

110 /// Encode an array of characters.
111 /// \param str The string of characters to be encoded.
112 consteval void encode(char const (&str)[N]) noexcept {
113 std::array<std::uint8_t, N> buffer;
114 std::copy(str, str + N, buffer.begin());
115 algos_.encode(0, buffer.begin(), buffer.end());
116 std::copy(buffer.begin(), buffer.end(), data_.begin());
117 }
118
119 /// Decode an array of characters in-place.
120 void decode_inplace() noexcept {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected