Like most languages, when data is sent to a file it is stored in a buffer to increase efficiencies.
This internal buffer stores the data until the buffer is full, until the file is closed, or when flushed.Then it physically writes the data into the file.
Leave a Reply
You must be logged in to post a comment.