diff options
| author | Alexey Gavrilov <rebovas@yahoo.com> | 2024-03-07 12:12:27 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <rebovas@yahoo.com> | 2024-03-07 12:12:27 +0700 |
| commit | 242f9c88c0a31742f2b50e9ad54cec21095480f1 (patch) | |
| tree | 14b63731085bb7cab100fd332094086014b1750b /include/MemoryOperations.h | |
| parent | 244a9154e42a49470bd28e3a95ebe9f4a5fe5ff7 (diff) | |
Memory operations: copy and set
Diffstat (limited to 'include/MemoryOperations.h')
| -rw-r--r-- | include/MemoryOperations.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/MemoryOperations.h b/include/MemoryOperations.h new file mode 100644 index 0000000..046ca1d --- /dev/null +++ b/include/MemoryOperations.h @@ -0,0 +1,16 @@ +#ifndef MEMORYOPERATIONS_H +#define MEMORYOPERATIONS_H + +#include <types.h> + + +class MemoryOperations +{ + public: + // Return number of copy bytes + static uint32 copy(void *source, void *destination, uint32 sizeBytes); + // Return number of set bytes + static uint32 set(void *field, uint8 value, uint32 sizeBytes); +}; + +#endif |
