[Java] Java buffering process

less than 1 minute read

[Java buffering process]

It is a memo of Java’s buffering process used in business. I have summarized it because it is used during development.


A buffer is a variable that stores a character string. buffer has the meaning of “buffer material”.

A container for storing primitive type data. There are all primitive types except boolean.

Buffering process

What is buffering processing? At the time of writing, the process of storing data in the memory (buffer) once and outputting it to a file when it is full. When reading, the data is read in a buffer and processed when it is full. → Data can be processed collectively and read/write becomes efficient.