MCPcopy Create free account
hub / github.com/bcndev/bytecoin / as_string

Function as_string

src/common/StringTools.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
24
25std::string as_string(const void *data, size_t size) { return std::string(static_cast<const char *>(data), size); }
26
27BinaryArray as_binary_array(const std::string &data) {
28 auto data_ptr = reinterpret_cast<const uint8_t *>(data.data());

Callers 15

json_parseFunction · 0.50
address_parseFunction · 0.50
get_value_stringMethod · 0.50
getMethod · 0.50
decrypt_message_chunkMethod · 0.50
getMethod · 0.50
decode_anyFunction · 0.50
scan_outputsMethod · 0.50
generate_keyimageMethod · 0.50
generate_output_seedMethod · 0.50
sign_add_inputMethod · 0.50
sign_add_outputMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected