Hi All,

I am trying to write a InputStream(which is Base64 encoded using restlet api) 
to a blob, It goes succesfully in db. But at time of retrieving the same, it 
gives exact blob size what I have written in blob, but returns zero(0) when I 
call is.available() method on InputStream object got from blob.
here is the code I have written:

         InputStream is = blob.getBinaryStream();
         System.out.println(is.available());

Please help me out in getting out of this problem if any of you guys has done 
something like this before.

Thanks
prashant

Reply via email to