Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between character streams and byte streams  RSS feed

 
Chandra Bairi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I think this is the right forum for this question. What is the difference between character and byte streams right from the low level implementation to the high level implementation. what I actually feel is there is only one difference and that is when we use the character streams the data will be read as a character (i.e 16 bits) and when we read/write the data as byte stream then it will be done as a byte(i.e 8 bits) and there is no other difference. Can anyone help me out in explaining the whole concept.
Thanks in advance.
Shekar
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What you said was correct.
I will move this to the I/O forum for you to continue the conversation.
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've pretty much hit the nail on the head. What other aspect of the two classes is bothering you?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!