I had a code where I was using writeBytes() method of DataOutput for writing a string to file. And, it created some issues while reading. Then, I replaced the same with write(str.getBytes()). This went fine without causing any issue. Confused now on what is the difference between these two methods. Still exploring...
Friday, September 18, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment