comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Separate type for byte arrays
Date: Thu, 04 May 2006 17:14:24 +0200
Date: 2006-05-04T17:14:24+02:00	[thread overview]
Message-ID: <8764klddpr.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: u6o6g.1430$O5.804@llslave.llan.ll.mit.edu

* Frank J. Lhota:

> Florian Weimer wrote:
>> ...
>> Any suggestions?  I'm aiming for something similar java.nio.*.
>
> Would streams meet your needs?

No, the interface does not cope with partial reads and writes ("Last
is less than Item'Last only if the end of the stream is reached).
Unfortunately, they are common in networking applications, and the
layer below the streams would need protocol-dependent knowledge to
tell whether an end-of-stream condition is reached.



  reply	other threads:[~2006-05-04 15:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04 13:35 Separate type for byte arrays Florian Weimer
2006-05-04 14:21 ` Frank J. Lhota
2006-05-04 15:14   ` Florian Weimer [this message]
2006-05-04 16:17 ` Dmitry A. Kazakov
2006-05-04 18:15 ` Jeffrey R. Carter
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox