d698746609
Motivation: We lately added ByteBuf.isReadOnly() which allows to detect if a buffer is read-only or not. We should add ByteBuf.asReadOnly() to allow easily access a read-only version of a buffer. Modifications: - Add ByteBuf.asReadOnly() - Deprecate Unpooled.unmodifiableBuffer(Bytebuf) Result: More consistent api. |
||
---|---|---|
.. | ||
java/io/netty/example | ||
resources |