public boolean isReadComplete() {
    return buffer != null && sizeRead >= sizeToRead;
  }
A netty {@link ByteBuf} version of Receive to buffer the incoming request or response.
ambry-api/src/main/java/com/github/ambry/network/BoundedNettyByteBufReceive.java