Memory Operations
Zeroise the values then free the memory
Vector!(T, Alloc) vec | the vector to zeroise and free |
Zeroise memory
T* ptr | a pointer to an array |
size_t n | the number of Ts pointed to by ptr |
Copy memory
T* output | the destination array |
T* input | the source array |
size_t n | the number of elements of in/out |
Set memory to a fixed value
T* ptr | a pointer to an array |
size_t n | the number of Ts pointed to by ptr |
ubyte val | the value to set each ubyte to |
Memory comparison, input insensitive
T* p1 | a pointer to an array |
T* p2 | a pointer to another array |
size_t n | the number of Ts in p1 and p2 |
Zeroise the values; length remains unchanged
Vector!(T, Alloc) vec | the vector to zeroise |