WebSocket

Alan Bateman Alan.Bateman at oracle.com
Tue Feb 20 07:50:27 UTC 2018


On 19/02/2018 20:19, Simone Bordet wrote:
> :
> Now, ByteBufferInputStream is not present in the JDK, and if you want
> to complain you are in good (and conspicuous) company, as the JDK
> engineers appear to avoid the issue since years now (e.g. create a
> String from a ByteBuffer without copy).
>
There is an active proposal/discussion on core-libs-dev to add a 
constructor to String that creates the String by decoding the bytes in a 
buffer.

-Alan


More information about the net-dev mailing list