Sign in to follow this  

unitbuffered vs unbuffered

Recommended Posts

A unit buffered stream is an otherwise buffered stream that is flushed after each operation. Neither is better, it depends on your needs: sending data in smaller, more frequent chunk will cause a performance hit, but in case of a crash some of the data may have reached the device that would otherwise be lost in the buffer.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this