Now using proper alignment for all char buf[sizeof(T)]