reduce the number of bytes to the same number as netty counterpart.