Relates :
|
The current java.nio.ByteBuffer API lacks absolute (bulk) put(byte[] ...) and gtet(byte[] ...) method signatures. While it is possible to workaround this missing functionality it is somewhat onerous and is liable to programmer error (since the developer has to play with the target ByteBuffer's position and limit pointers). The simple addition the appropriate method signatures providing absolute, that is parameterising the buffer offset/position for the operation, (rather than position field relative) variants of these APIs would significantly enhance the ease of use of this API. ###@###.### 10/6/04 16:40 GMT