on *11.02.22* at *20:40:25* You wrote in Area *FTSC_PUBLIC* to *Tim Schattkowsky* about *"Directly include binary data in messages"*.
>> @BIN <filename> <CRC32 in hex> <almost binary data>
RS> Control paragraphs should begin with ^A<tag>: ftsc.org/docs/fts-4000.001 RS> So assuming '@' represents Ctrl-A, that would just mean putting a colon RS> after "BIN".
It does :)
RS> But why "BIN"? Wouldn't "IMAGE" be more approrpriate?
Because the same mechanics might be employed for embedding arbitrary binary data and might be accompanied by a mechanism for referencing the data in the text (e.g., by file name).
RS> What purpose is the filename?
The same as in MIME and further, if no content-type mechanism is added. In that case, the file extensions may come into play for identifying the file type.
RS> Since you're using space-delimeters for this control paragraph, you RS> couldn't have spaces in the filename unless you had some special escaping RS> or quoting syntax support.
Indeed, could have URL-like encoding.
RS> I would recommend just eliminating the filename unless it provides some RS> important function.
I think it does, e.g., for attaching files.
RS> Is the CRC32 exactly 8 hex digits or not? (i.e. if the first n-hex-digits RS> of the CRC value are 0, are they still included?).
Probably.
RS> I assume you mean the IEEE-802.3 CRC-32 algo/polynominal? There are RS> multiple 32-bit CRC algorithms, so it would best to be specific. RS> en.wikipedia.org/wiki/Cyclic_redundancy_check
Probably.
RS> "<almost binary data>" is encoding what image format?
Thoug I have the application for images in my mind, this idea is about encoding arbitrary binary data. The semantics and further mechanics have to be defined elsewhere.