BigBuffer
Alan Bateman
Alan.Bateman at Sun.COM
Tue Jun 17 07:56:24 PDT 2008
Rob Butler wrote:
> Is there any need for BigBuffer's in network IO?
Not strictly, and it would add clutter. Where needed, the network I/O
could be done using a ByteBuffer view into the larger buffer.
> I could see it's use for MappedByteBuffer's or File IO operations.
>
Yes, mapping large files comes up every so often. Sometimes people work
around the issue by mapping the file in 2GB chunks; others ask for a
contiguous mapping.
-Alan.
More information about the nio-discuss
mailing list