bin-to-src | chars | crlf-to-lf | csvtotab | dec | decode | detab | encode | entab | hex | hexdump | hextobin | join | lf-to-crlf | oload | scantab | split | tabtocsv | utoa | uuencode | wtoa | wtou | Команда: hextobin sfk ... +hextobin outfile convert lines of text containing hexdump to binary. chain-only command hextobin can be used only after another command, typically filter, which reads and prepares the input data. options -fuzzy ignore >< and # characters -verbose tell conversion statistics supported input formats since SFK 1.6.9: - if >...< is found then only hex data inside that is used. - if # is found then only hex data before that is used. - else any hex characters are used, and with option -fuzzy any >< or # characters are ignored. - whitespace at line start is ignored. 1. sfk hexdump full bracket delimited format: :file test.dat >6578616D 706C6520 77697468 206E6F6E< example with non 00000000 >20616C6E 756D0D0A 63686172 61637465< alnum..characte 00000010 >73202D2B 28295C2F 2E0D0A< s -+()\/... 00000020 2. sfk postdump minimal format, for forums and wiki: :file test.dat 65 78 61 6D 70 6C 65 20 77 69 74 68 20 6E 6F 6E # example.with.non 0000 20 61 6C 6E 75 6D 0D 0A 63 68 61 72 61 63 74 65 # .alnum..characte 0010 73 20 2D 2B 28 29 5C 2F 2E 0D 0A # s.......... 0020 3. any text with hex data inbetween that does not contain the >< or # characters (else -fuzzy must be used): --== 6578616D 706C6520 77697468 ==-- // 0x65, 0x78, 0x61, 0x6D :: input line length limitation: text lines in the input file should not be longer than 4000 characters or sfk filter will split them, causing hextobin to produce errors like "wrong hex format". web reference http://stahlworks.com/sfk-hextobin examples sfk filter dump.txt +hextobin out.dat convert file dump.txt and write to out.dat sfk fromclip +hextobin %TEMP%\tmp1.dat +hexdump takes a hex sequence like 22737769 73732066 from clipboard, printing its text via a temporary file and hexdump. |
![]() |