Simplified method of setting uint16_t values into a char array