Aspects


vs


Bufferedoutputstream

An abstract mechanism for writing data to a stream via a buffer, for improved writing performance

Dataoutputstream

A mechanism for writing abstract data to a stream

Others

Quality Example
More

"A bufferedoutputstream is more appropriate that a dataoutputstream imho"

from question "Why not successful " HTTP GET request with socket "?"

More efficient

"It will wrap the original stream in a bufferedoutputstream which is more efficient which is then wrapped into a dataoutputstream which offers additional nice features like writeint writelong and so on"

from question "Java TCP socket: data transfer is slow"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0