#include "mem.h" void memset(void* destination, u8 value, size_t length) { for (size_t i = 0; i < length; i++) { ((u8*)destination)[i] = value; } } void memcpy(void* destination, void* source, size_t length) { for (size_t i = 0; i < length; i++) { ((u8*)destination)[i] = ((u8*)source)[i]; } }