UP Computer Science Interns' Blog

May 10, 2010

From information to bytes

Filed under: posd_200678515 — markmark12 @ 11:26 pm

It has been so usual for me to write files in text but what happens when it needs to be written in bytes? I was in trouble inflating the data i’ve compressed using java. I’ve changed the buffer size, the way i read from files and so on. I never quit investigating on what things made my program buggy.  Finally i caught the bug. i thought that decompressing compressed files just need to be read back by byte buffers. Always keep in mind that do use the same method on how you read and write files 🙂

Advertisements

Blog at WordPress.com.

%d bloggers like this: