Closed laeubi closed 1 year ago
Currently one can transfer data using streams or array, but it would be great to have the opportunity to use NIO buffers.
This adds two new method to the File class that accept a NIO ByteBuffer.
@dgodfrey I extracted this from you NIO file-system attempts because I think this can be useful in general!
@hierynomus what do you think?
Currently one can transfer data using streams or array, but it would be great to have the opportunity to use NIO buffers.
This adds two new method to the File class that accept a NIO ByteBuffer.
@dgodfrey I extracted this from you NIO file-system attempts because I think this can be useful in general!
@hierynomus what do you think?