MCPcopy Create free account
hub / github.com/cpputest/cpputest / StringFromBinaryWithSizeOrNull

Function StringFromBinaryWithSizeOrNull

src/CppUTest/SimpleString.cpp:915–918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915SimpleString StringFromBinaryWithSizeOrNull(const unsigned char* value, size_t size)
916{
917 return (value) ? StringFromBinaryWithSize(value, size) : "(null)";
918}
919
920SimpleString StringFromMaskedBits(unsigned long value, unsigned long mask, size_t byteCount)
921{

Callers 3

toStringMethod · 0.85
MockActualCall.cppFile · 0.85
TESTFunction · 0.85

Calls 1

StringFromBinaryWithSizeFunction · 0.85

Tested by 1

TESTFunction · 0.68