Open philip-brink opened 6 years ago
int index = 0; char result[512]; while (readingFifoBuffer[index] != '\0') { result[index] = readingFifoBuffer[index]; index++; } result[index] = '\0'; return std::string(result);