MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / bytes_to_string

Method bytes_to_string

src/board_controller/muse/muse_athena.cpp:917–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917std::string MuseAthena::bytes_to_string (const uint8_t *data, size_t size)
918{
919 std::ostringstream oss;
920 for (size_t i = 0; i < size; i++)
921 {
922 if (i > 0)
923 {
924 oss << " ";
925 }
926 oss << static_cast<int> (data[i]);
927 }
928 return oss.str ();
929}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected