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
franny
NA
11
0
Read data into structs?
Dec 5 2004 8:49 PM
I would like to use the System.IO class to read binary data directly into some c# structs. But I dont see a way to do it. All the readers that I know of ( BinaryReader, StreamReader) want a byte[] or char[] as the target buffer. I dont see a way to cast my struct into a byte[] so I can use these read methods. Does anyone have a solution for this? Thanks in advance.
Reply
Answers (
4
)
Menustrip1 http links
Help on C#/SMTP