09dd6a5d4d
Motivation: In the `ByteBufOutputStream` we can use an appropriate methods of `ByteBuf` to reduce calls of virtual methods and do not copying converting logic. Modifications: - Use an appropriate methods of `ByteBuf` - Remove redundant conversions (int -> byte, int -> char). - Use `ByteBuf#writeCharSequence` in the `writeBytes(String)'. Result: Less code duplication. A `writeBytes(String)` method is faster. No unnecessary conversions. More consistent and cleaner code. |
||
---|---|---|
.. | ||
src | ||
pom.xml |