|
![](/i/fill.gif) |
On Mon, 17 Oct 2011 09:00:25 +0100, Invisible wrote:
>>> The point being, if you want to store some binary data in the middle
>>> of a textual configuration file, you have to base64 encode it or
>>> something (which is less efficient). If you want to stick some binary
>>> data in the registry, you can just store it as binary.
>>
>> No, you don't have to encode it as base64. It's perfectly legal to
>> create a file with text components and binary components. Because it's
>> just a file.
>
> It's perfectly *legal*, but nobody does it because then you wouldn't be
> able to just throw the file through grep or something and expect it to
> work.
I've seen it done.
And in fact, a binary file is perfectly acceptable for grep to parse.
I've used that often enough myself.
Jim
Post a reply to this message
|
![](/i/fill.gif) |