Talk:Non-blocking I/O (Java)
Can you add some details about the difference between java.io.* and java.nio.* Jgold03 01:20, 27 March 2006 (UTC)
dead link - New I/O APIs - description of New I/O
maybe this is about what the link pointed to:
http://java.sun.com/developer/technicalArticles/releases/nio/index.html
--212.202.41.193 20:19, 30 April 2007 (UTC)
In "Copying NIO Buffers", Method 1 is flawed. The buffer2 object is completely lost after executing "buffer2 = buffer1;". After completing the execution, buffer2 points actually to buffer1.
Last two points of "Some Usage Information for NIO Buffers" are completly wrong. NIO buffers don't block. get() into array larger than remaining() throws BufferUnderflowException instead. get into an array behind read only buffer will proceed as usual - read only buffer is just a wrapper, but never gives its clients the underlaying array anyway.