wood burning stoves*
The moose likes I/O and Streams and the fly likes Doubt regarding Difference between CharacterStream and ByteStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Doubt regarding Difference between CharacterStream and ByteStream" Watch "Doubt regarding Difference between CharacterStream and ByteStream" New topic
Author

Doubt regarding Difference between CharacterStream and ByteStream

veena bijur
Ranch Hand

Joined: May 16, 2011
Posts: 67
Difference between CharacterStream and ByteStream



ByteStream

1. Used to perform IO operation of binary data or byte data
Examples: audio files,video files, word files i.e .doc,.xls ,image
and it supports only ASCII

2. Character Stream

Used to perform IO operation of Character i.e it only supports UNICODE characters, so supports any human language.
Examples. doc,.xls files .

So Character Stream doesnt support audio,video files and all?


Please, tell me is the above difference correct or no. IF any let me know.
Thanks
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2302
    
  49
See this thread http://www.coderanch.com/t/511292/java/java/Byte-Character-streams
veena bijur
Ranch Hand

Joined: May 16, 2011
Posts: 67
i read the article, its just bouncing.

Could you please tell interview point.

i am just not getting what exactly the difference, please explain in simple way.
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Do you understand the difference between a character and a byte?
 
GeeCON Prague 2014
 
subject: Doubt regarding Difference between CharacterStream and ByteStream