But FileOutputStream does not have a read method.
The API states:
A file output stream is an output stream for writing data to a File or to a FileDescriptor.
Is your FileOutputStream actually connected to a file?
If it is you, you could use a File
InputStream to read it back in.
The code you have provided does not look correct.
You could read your byte into a single element byte
array, then construct a
String object using whatever coding scheme you require, and print the resulting single character string.
[ November 08, 2002: Message edited by: Barry Gaunt ]