how stick string of hexcode .bin file? this, \x45\x67\x89 example. i've seen long examples use bash strip add .bin, there must quicker , simpler way?
also, not familiar .bin's, program in themselves?
printf function wide supported function. c, cpp, php, python, bash...
so classic implementation in c be:
file *fp =fopen('binfilename.bin', 'w'); fprintf(fp, "\x45\x67\x89"); fclose(fp);
all other languages have similar usage. mention bash, , think there no simpler way bash itself:
printf "\x45\x67\x89" > binfilename.bin
every file binary file. if contains printable bytes, call textual file. if generated compiler , have bytes meaningfull cpu, not human, 'binary', program. both textual , binary contains bytes , binaries. difference after, when we/some app interprets it's contents.