Summary

During this hour, you worked with input streams and output streams that wrote bytes, the simplest way to represent data over a stream. There are many more classes in the java.io package to work with streams in other ways. There's also a package of classes called java.net that enables you to read and write streams over an Internet connection. Byte streams can be adapted to many uses, because you can easily convert bytes into other data types, such as integers, characters, and strings. The first project of this hour, the ReadID3 app, read bytes from a stream and converted them into a string, because it was easier to read the ID3 data in this format from a song such as "Perfect Silence" by Scapegoat Wax off the album Swax. Have I mentioned yet that you should buy the album?

      
Comments