TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Administrator
Tech Writer
2.2k
1.5m
Size of serialized object
Mar 7 2003 5:43 AM
How do I know the size of a serialized object ? For example: Stream s = File.Open("myfile.dat", FileMode.Create); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(s, myobject); What was the size of myobject written to the file s ? I know I could compare the size of the file before and after and the difference would be it, but this is not precise since another write could be done right before the call to check the file size. Thanx in advance for any help.
Reply
Answers (
0
)
Novice Question - Generic Class Writing and Reading Files
SelectedIndexChanged Event for DataGrid .. help