Re: open an existing file in buffer and write on it



On Fri, 2013-01-25 at 10:44 -0800, Andrew Potter wrote:
[...]

You can get a nice buffer of "binary data" to write to file:

Please let's not encourage the use of binary file formats where there's
no measured performance requirement. An XML file would be better if
structure is needed, as then it can be interchanged with other tools and
platforms, and the fields are self-describing. Even JSON is better than
a binary file, although JSON is not so good for the document-oriented
text you often find in bibliographies, which I think was the original
purpose here? Not sure.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]