vector write/read

Tigran Mkrtchyan tigran.mkrtchyan at desy.de
Thu Jun 19 10:36:53 PDT 2008


No, it's not there. The ScatteringByteChanne and GatheringByteChannel 
works on a set of ByteBuffers starting specified offset, while we are 
interesting in set of pairs <ButeBuffer, offset>.

Tigran.

David M. Lloyd wrote:
> On 06/19/2008 05:06 AM, Tigran Mkrtchyan wrote:
>> Hi,
>>
>> just want to ask why vector operations are not a part to nio?
> 
> They are, since 1.4: see 
> http://java.sun.com/javase/6/docs/api/java/nio/channels/ScatteringByteChannel.html 
> and 
> http://java.sun.com/javase/6/docs/api/java/nio/channels/GatheringByteChannel.html 
> for more info.
> 
> - DML

-- 
________________________________________________________________________
Tigran Mkrtchyan                               DESY, IT,
tigran.mkrtchyan at desy.de                       Notkestrasse 85,
Tel: + 49 40 89983946                          Hamburg 22607,
Fax: + 49 40 89984429                          Germany.



More information about the nio-dev mailing list