Binary
I would like to read a file and store the data in binary format in a string.
So that i can later insert it into the database - MySQL
I am able to read the file into a byte array.
How do i store the byte[] array into the string ?
byte[] buf = new byte[100]
// .... read file ...
String BinString = new String(buf);
Is this sufficient ?

