netty5/buffer/src
Scott Mitchell 94f27be59b ByteBufUtil writeUtf8 and writeAscii helper methods
Motivation:
Utility methods in ByteBufUtil to writeUtf8 and writeAscii expect a buffer to already be allocated. If the user does not have a buffer allocated they have to know details of the encoding in order to know the size of the buffer to allocate.

Modifications:
- Add writeUtf8 and writeAscii which take a ByteBufAllocator and allocate a ByteBuf of the correct size for the user

Result:
ByteBufUtil methods which are easier to use if the user doesn't already have a ByteBuf.
2016-02-29 10:09:06 +01:00
..
main/java/io/netty/buffer ByteBufUtil writeUtf8 and writeAscii helper methods 2016-02-29 10:09:06 +01:00
test/java/io/netty/buffer Add methods with position independent FileChannel calls to ByteBuf 2016-02-14 20:37:37 -08:00