Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Text_IO fro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 10 Topic 5628 of 5831
Post > Topic >>

Re: Text_IO from a stream

by "Dmitry A. Kazakov" <mailbox@[EMAIL PROTECTED] > Apr 1, 2008 at 09:49 AM

On Mon, 31 Mar 2008 22:54:35 +0200, Gautier wrote:

> Dmitry A. Kazakov:
> 
> Meanwhile (#ada irc...) there seems to be a nice solution:
> 
> http://jesselang.com/software/streams_text_io/

Yes.

>>> Well, I think I'll switch to a binary format...
>> 
>> I would do that too. Also I would override 'Read and 'Write in order to
>> make it platform-independent. (Stream_Element should be replaced by
>> octets.)
> 
> No problem with that - there is already a framework in that package (for
other 
> files) that sends things byte-per-byte in a deterministic endianess;
floats are 
> split/merged with certain a Float_****table_binary_transfer package.

No, I meant your idea of a text-oriented stream. So Float'Write would put
Float in a human-readable format (instead of Put). But of course, a binary
transfer is always preferable.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
 




 10 Posts in Topic:
Text_IO from a stream
gautier_niouzes@[EMAIL PR  2008-03-31 08:27:21 
Re: Text_IO from a stream
"Dmitry A. Kazakov&q  2008-03-31 17:49:00 
Re: Text_IO from a stream
gautier_niouzes@[EMAIL PR  2008-03-31 09:05:35 
Re: Text_IO from a stream
"Dmitry A. Kazakov&q  2008-03-31 18:33:23 
Re: Text_IO from a stream
Gautier <gautier@[EMAI  2008-03-31 21:17:10 
Re: Text_IO from a stream
"Dmitry A. Kazakov&q  2008-03-31 21:47:37 
Re: Text_IO from a stream
Gautier <gautier@[EMAI  2008-03-31 22:54:35 
Re: Text_IO from a stream
"Dmitry A. Kazakov&q  2008-04-01 09:49:59 
Re: Text_IO from a stream
Simon Wright <simon.j.  2008-04-01 21:49:41 
Re: Text_IO from a stream
"Dmitry A. Kazakov&q  2008-04-02 09:36:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 20:54:45 CDT 2008.