netty5/example/src/main
Norman Maurer d698746609 Add ByteBuf.asReadOnly()
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.
2016-04-14 10:51:20 +02:00
..
java/io/netty/example Add ByteBuf.asReadOnly() 2016-04-14 10:51:20 +02:00
resources Add HTTP/2 Netty tiles example 2015-05-18 14:16:54 -07:00