From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada.Storage_IO: applied example?
Date: Wed, 24 Oct 2012 09:20:15 +0200
Date: 2012-10-24T09:20:15+02:00 [thread overview]
Message-ID: <u3c153c0wlzg.166etzxuj9m26.dlg@40tude.net> (raw)
In-Reply-To: k670lo$rvm$1@dont-email.me
On Tue, 23 Oct 2012 14:02:43 -0700, Jeffrey Carter wrote:
> On 10/23/2012 01:28 PM, Dmitry A. Kazakov wrote:
>> On Tue, 23 Oct 2012 21:42:43 +0200, Yannick Duch�ne (Hibou57) wrote:
>>
>>> I'm seeking for a tiny use case showing `Ada.Storage_IO` in action.
>>
>> It looks useless at first glance. The buffer size is fixed and
>> implementation defined(!). Why would anybody use that rather than plain
>> array?
>
> The buffer is the correct size that corresponds to an object of Element_Type.
> Much easier than figuring that out oneself.
Less than useless, as the name (I/O) gives a (false) impression that one
could read/write more than just one item into the thing.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2012-10-24 7:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 19:42 Ada.Storage_IO: applied example? Yannick Duchêne (Hibou57)
2012-10-23 20:28 ` Dmitry A. Kazakov
2012-10-23 20:56 ` Yannick Duchêne (Hibou57)
2012-10-23 21:21 ` Adam Beneschan
2012-10-23 21:02 ` Jeffrey Carter
2012-10-24 7:20 ` Dmitry A. Kazakov [this message]
2012-10-24 5:03 ` J-P. Rosen
2012-10-24 7:34 ` Dmitry A. Kazakov
2012-10-24 9:49 ` AdaMagica
2012-10-24 10:28 ` Dmitry A. Kazakov
2012-10-24 11:51 ` Yannick Duchêne (Hibou57)
2012-10-24 12:27 ` Dmitry A. Kazakov
2012-10-24 14:03 ` Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox