posted 22 years ago
here is from the API of BufferedInputStream:
When the BufferedInputStream is created, an internal buffer array is created. As bytes from the stream are read or skipped, the internal buffer is refilled as necessary from the contained input stream, many bytes at a time.
that tells us that the buffer size is in bytes.
and this is from the BufferedReader API:
The buffer size may be specified, or the default size may be used. The default is large enough for most purposes.
it doesnt tell the default size, but i remember reading somewehre its 512. (i may be mistaken)