[]
Any data that has been buffered must be written (including buffering at the bit level), and the stream should be realigned at the byte level.
public void flush()