str2bin-c