Takes an array and saftly copies it and returns it.
Takes two Carrays and compares them, assuming that T==(T) is defined.
Takes two vectors and compares them, assuming that T==(T) is defined.
Takes a vector and a size_t refrence and creates a Carray from the vector, returning the vector and placing the size in the size_t& argument.
Prints the vector to standard output.
Takes a Carray and a size and returns a vector.
[Intended for internal use only] Takes a number from a char and returns the corrosponding hex value.
Takes a byte and returns it as a hexstring.
Takes a Carray and a size and returns a hexstring containing the bytes of the array.
Takes a object array, a size and a bool (toggling object packing on or off) and returns a hexstring of the bytes from the object array.
Eats a char from a Cstring
Eats a char from a string
Takes a initilizer_list, sets size_t to the size of the array and returns a Carray with the objects.
Takes a initilizer_list and returns a vector with the objects.
EXPERIMENTAL!!
Compares two Cstrings without <stdio.h>
Compares two NON-nullterminated C-strings without including <stdio> or <string> and allows for comparing bytes (with null bytes using the bool arg)
Finds the last instance of a given char in a given string, and returns the position
Finds the last instance of a given string in a given string, and returns the position
Takes a Cstring and returns the length (as long as it is null-terminated)
Takes a string and reverses it, without deleting the input string, and returns the reversed string
Read size_t& bytes from a file as an unsigned file stream returning a Carray of the bytes updating size_t& with the bytes read in case of less bytes found than requested.
Takes a filepath and returns an unsigned char Carray with the bytes read, updating size_t& with the bytes read.