Explicitly set the buffering mode.