Skip to content

Read data from and write data to file using buffering technique #27

@MohammedElsayyed

Description

@MohammedElsayyed

Using buffering can greatly increase the performance of an application. Buffering reduces the number of I/O operations by first combining smaller outputs together in memory. The number of actual physical I/O operations is small compared with the number of I/O requests issued by the program. Thus, the program that’s using buffering is more efficient.

BufferedInputStream and BufferedOutputStream should be used instead of FileInputStream and BufferedOutputStream, respectively.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions