30b711cf3d
Modification: If the readableBytes() is zero, then just return. Result: The logic can be easy to understand and a little faster than before.