MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / create_data

Function create_data

src/test/test_databuffer_mm.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34#if 0
35template< int N >
36std::string create_data( uint8_t (&bytes)[N])
37{
38 std::string data;
39
40 for ( int i = 0; i < N; ++i )
41 data.append(1, bytes[i]);
42
43 return data;
44}
45#endif
46
47template< typename T >

Callers 3

test_wraparoundFunction · 0.85
test_resetFunction · 0.85
test_seekFunction · 0.85

Calls 2

appendMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected