- Remove redundant boundary check in ensureWritableBytes() - Ensure calculateNewCapacity() never returns the value that exceeds maxCapacity
- Remove redundant boundary check in ensureWritableBytes() - Ensure calculateNewCapacity() never returns the value that exceeds maxCapacity