class NioSslEngine implements NioFilter {

  public ByteBuffer ensureUnwrappedCapacity(int amount) {
    // for TTLS the app-data buffers do not need to be tracked direct-buffers since we
    // do not use them for I/O operations
    peerAppData =
        bufferPool.expandReadBufferIfNeeded(TRACKED_RECEIVER, peerAppData, amount);
    return peerAppData;
  }

    NioSslEngine(SSLEngine engine, BufferPool bufferPool);

}