Is there a generic function/function block for little-endian ↔ big-endian conversion using variable addresses?

If anyone is interested, I created my own ANSIC function to handle ToBigEndian and FromBigEndian using the H_TO_N and N_TO_H functions from AsIecCon.
By taking the address as the input variable, only single-dimensional arrays are supported, and the array must start at index 0.