On 20/02/2018 08:14, Simone Bordet wrote:
Are you looking for this for performance or convenience reasons? Bridging channel and input/output streams is natural of course, bridging between buffers and input/output streams hasn't come up very often. ByteBuffer defines bulk get/put methods so it's trivial for anyone to wrap byte buffers if they need to.: Where would be a good list to start discussing ByteBuffer to [Input|Output]Stream bridging ?
-Alan