netty5/codec-stomp/src
Nikolay Fedorovskikh ba3616da3e Apply appropriate methods for writing CharSequence into ByteBuf
Motivation:

1. `ByteBuf` contains methods to writing `CharSequence` which optimized for UTF-8 and ASCII encodings. We can also apply optimization for ISO-8859-1.
2. In many places appropriate methods are not used.

Modifications:

1. Apply optimization for ISO-8859-1 encoding in the `ByteBuf#setCharSequence` realizations.
2. Apply appropriate methods for writing `CharSequences` into buffers.

Result:

Reduce overhead from string-to-bytes conversion.
2017-06-27 07:58:39 +02:00
..
main/java/io/netty/handler/codec/stomp Apply appropriate methods for writing CharSequence into ByteBuf 2017-06-27 07:58:39 +02:00
test/java/io/netty/handler/codec/stomp Fix buffer leaks in tests 2016-12-03 20:11:25 +01:00