MCPcopy Create free account
hub / github.com/ElementsProject/elements / Cat

Function Cat

src/blech32.cpp:53–57  ·  view source on GitHub ↗

Concatenate two byte arrays. */

Source from the content-addressed store, hash-verified

51
52/** Concatenate two byte arrays. */
53data Cat(data x, const data& y)
54{
55 x.insert(x.end(), y.begin(), y.end());
56 return x;
57}
58
59/** This function will compute what 6 5-bit values to XOR into the last 6 input values, in order to
60 * make the checksum 0. These 6 values are packed together in a single 30-bit integer. The higher

Callers 7

VerifyChecksumFunction · 0.70
CreateChecksumFunction · 0.70
EncodeFunction · 0.70
VerifyChecksumFunction · 0.70
CreateChecksumFunction · 0.70
EncodeFunction · 0.70
LocateErrorsFunction · 0.70

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected