writing string with BufferedOutputStream
807597Mar 23 2005 — edited Mar 23 2005I have read froma file, done some encoding on bytes I have read,and saved this enocding information as variable length strings representing Huffman encoding. Everything is kosher and print out to the screen just as I would like it to, confirming that all encoding has happened as it should have.
How do I print a string value from an array (looped) to my BufferedOutputStream and hence my file? Methods require byte output. This seems trivial,but I can't seem to get it. I juat want to output a string at a time to a file, how I do that???