Crate nstd_core[−][src]
Functions
Returns the size (in bytes) of a pointer.
Returns: NSTDCOREUSize size - Size of a pointer.
Returns a null pointer.
Returns: void *null - A null pointer.
Copies bytes from other to copycat.
Parameters:
NSTDCOREByte *const copycat - Pointer to memory to be copied to.
const NSTDCOREByte *const other - Pointer to memory to be copied from.
const NSTDCOREUSize size - Number of bytes to copy.
Fills a block of memory with byte.
Parameters:
NSTDCOREByte *const ptr - Pointer to block of memory.
const NSTDCOREUSize size - Size of block.
const NSTDCOREByte byte - Byte to fill with.
Moves bytes from from to to. Zeroes out from’s memory.
Parameters:
NSTDCOREByte *const from - Memory to be moved from.
NSTDCOREByte *const to - Memory to be moved to.
const NSTDCOREUSize size - Number of bytes to move.
Moves memory from *ptr1 to *ptr2 and vice versa.
Parameters:
const void **const ptr1 - Pointer to first pointer’s memory location.
const void **const ptr2 - Pointer to second pointer’s memory location.
Zeros a memory range pointed to by ptr.
Parameters:
NSTDCOREByte *const ptr - Pointer to memory to be zeroed.
NSTDCOREUSize start - Starting index of memory to be zeroed.
const NSTDCOREUSize end - Ending index of memory to be zeroed. (Excluded).
Type Definitions
Represents a unicode char type.