Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Compatibility between byte and character streams?  RSS feed

 
Michael Herrmann
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
in how far are byte and character streams compatible?
InputStreamReader shows, that it is possible to build a character stream on top of a byte stream without losing functionality. Is this possible the other way round (by building a byte stream on top of a character stream)? Are there bytes that cannot be transformed into a character?

Thanks in advance,
Michael Herrmann
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!