drain


Description:

[ Version ( since = "1.12" ) ]
public void drain ()

Drains the adapter until it is empty.

It decreases the min_frame_size to match the current adapter size and calls chain method until the adapter is emptied or chain returns with error.

Parameters:

this

a Parse