B
bob smith
What's the easiest way to convert a Serializable java object to a string?
Maybe a hex string or base64?
Thanks.
Maybe a hex string or base64?
Thanks.
<http://docs.oracle.com/javase/7/docs/platform/serialization/spec/serialTOC.html>orWhat's the easiest way to convert a Serializable java object to a string?
Maybe a hex string or base64?
What's the easiest way to convert a Serializable java object to a string?
Maybe a hex string or base64?
Thanks.
What's the easiest way to convert a Serializable java object to a string?
Maybe a hex string or base64?
Write the object to an ObjectOutputStream wrapped around
a ByteArrayOutputStream, retrieve the byte array and
convert it to hex or base64.
Write the object to an ObjectOutputStream wrapped around
a ByteArrayOutputStream, retrieve the byte array and
convert it to hex or base64.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.