netty5/buffer/src
Xiaoyan Lin 9602535b7d Added isText to validate if a ByteBuf is compliant with the specified charset.
Motivation:

See #82.

Modifications:

- Added `isText` to validate if the given ByteBuf is compliant with the specified charset.
- Optimized for UTF-8 and ASCII. For other cases, `CharsetDecoder.decoder` is used.

Result:

Users can validate ByteBuf with given charset.
2016-06-20 07:32:05 +02:00
..
main/java/io/netty/buffer Added isText to validate if a ByteBuf is compliant with the specified charset. 2016-06-20 07:32:05 +02:00
test/java/io/netty/buffer Added isText to validate if a ByteBuf is compliant with the specified charset. 2016-06-20 07:32:05 +02:00