In other words, the host sets capacity to max, calls the plugin, and resets the capacity to size of data received. Krzysztof