• graphic.js

    From MCMLXXIX@VERT/MDJ to Deuce on Wed Sep 15 17:13:28 2010
    I'm having trouble with binary files.ããReally, all I want to do is be able to open up a binary ascii picture, load itsãcontents into a string, and write them back out to another file, but it'sãgetting corrupted along the way (mostly because I didnt plan for this and wasãjust doing readAll() and writeAll()..which works for everything else)ããI remember a while back we talked about adding a save() method to the Graphic()ãobject, but that's not really where I'm going with this, because this shouldãwork on regular text (.INI, .DOC, etc..) files as well.ããMy question is: is there a way to read/write files in binary mode withoutãhaving to know what they are?ããIf you have a few minutes to help me out I'd appreciate it.ããthxãã---ã þ Synchronet þ The BRoKEN BuBBLE (MDJ.ATH.CX)ã
  • From MCMLXXIX@VERT/MDJ to Deuce on Thu Sep 16 13:47:36 2010
    Re: graphic.jsã By: MCMLXXIX to Deuce on Wed Sep 15 2010 17:13:28ãã > I'm having trouble with binary files.ã > ã > Really, all I want to do is be able to open up a binary ascii picture, load ã > contents into a string, and write them back out to another file, but it'sã > getting corrupted along the way (mostly because I didnt plan for this and waã > just doing readAll() and writeAll()..which works for everything else)ã > ã > I remember a while back we talked about adding a save() method to the Graphiã > object, but that's not really where I'm going with this, because this shouldã > work on regular text (.INI, .DOC, etc..) files as well.ã > ã > My question is: is there a way to read/write files in binary mode withoutã > having to know what they are?ã > ã > If you have a few minutes to help me out I'd appreciate it.ã > ã > thxããnevermind.. got it.ãã---ã þ Synchronet þ The BRoKEN BuBBLE (MDJ.ATH.CX)ã