PC Review


Reply
Thread Tools Rate Thread

How can i read binary data

 
 
=?Utf-8?B?YmFzdWxhc3o=?=
Guest
Posts: n/a
 
      3rd Apr 2006
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...
 
Reply With Quote
 
 
 
 
Chris
Guest
Posts: n/a
 
      3rd Apr 2006
basulasz wrote:
> 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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I read the Binary data from DataBase Husam Microsoft ADO .NET 1 26th Dec 2007 09:22 PM
How Can I read the Binary data from Database Husam Microsoft ASP .NET 1 25th Dec 2007 02:43 PM
How to change binary data buffer read from a binary file to string format Anderson Microsoft VC .NET 1 21st Jul 2006 11:35 AM
How can i read binary data? =?Utf-8?B?YmFzdWxhc3o=?= Microsoft Dot NET Framework 2 3rd Apr 2006 12:30 PM
Binary data stored in SQL Server: can't read from ASP.NET, *can* read from Access? Doug Microsoft ASP .NET 3 4th Nov 2005 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 PM.