How to convert bytes to long and vice versa?
854208Apr 27 2011 — edited May 12 2011Hi,
I am uploading an image in Managed bean and passing it to EJB using web services. Before passing it to EJB i want to convert bytes to long, and vice versa too. How can i do so?
Contents of image are in bytes, which is a number.
Pls help.....