8 lines
203 B
C++
Executable File
8 lines
203 B
C++
Executable File
#include "user/lib/Memory.h"
|
|
|
|
void bse::memset(char* destination, char value, unsigned int bytes) {
|
|
for (unsigned int byte = 0; byte < bytes; ++byte) {
|
|
*(destination + byte) = value;
|
|
}
|
|
}
|