code: public void postProcessWriteBuffers(long dataWritten) {
  
          if (getByteBufferArrayDirect() == null) {
              try {
                  // see if we should post process just the one buffer case
                  if (((WsByteBufferImpl) getBuffer()).oWsBBDirect != null) {
                      ((WsByteBufferImpl) getBuffer()).setParmsFromDirectBuffer();
                  }
              } catch (ClassCastException cce) {
                  // Nothing to do here, already flagged this condition on the
                  // pre-processing
              }
              return;
          }
  
          WsByteBuffer wsBuffArray[] = getBuffers();
          for (int i = 0; i < wsBuffArray.length; i++) {
              if (wsBuffArray[i] == null) {
                  break;
              }
              try {
                  ((WsByteBufferImpl) wsBuffArray[i]).setParmsFromDirectBuffer();
              } catch (ClassCastException cce) {
                  // Nothing to do here, already flagged this condition on the
                  // pre-processing
                  return;
              }
  
          }
      }
docs: After the write call, perform any actions required on the write buffers.
  
  @param dataWritten