181351 posts 1993 follows 1215 followers
Please pay attention to random failures.
安全に変換したいとかならべつに unsigned char の配列つくって変換なりキャストなりしながらコピーするしかないのでは