Depends completely what you want to store if the stream is not a string than
most usable is a field from the type Blog . To optimize that you can even
use Zipping between that.
I have a special mail message object. It has a body part, to part, from part
etc. Its body part is in type of IO stream. I want to store this in db for
later usage. So it is not a string , it's MailPart.BodyStream (special to my
object). It is not serializable. Is there a way to store this stream in db?