How can i read binary data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I store an object as a binary data in db. I want to read that data and
deseralize it to get back my object. I saw the examples about that on forums,
but they write the data to a file which they create on the local drive. I
want to get the data in a byte array form (byte[] xxx) and deserialize it
without writing it on a file. How can i do that.

Thanks...
 
basulasz said:
I store an object as a binary data in db. I want to read that data and
deseralize it to get back my object. I saw the examples about that on forums,
but they write the data to a file which they create on the local drive. I
want to get the data in a byte array form (byte[] xxx) and deserialize it
without writing it on a file. How can i do that.

Thanks...

Look at the binarywriter and binaryreader classes in .net it has
examples on in the help file for it.

Chris
 
Back
Top