Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How to convert an unmanaged structure pointer to byte[] in c
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
shine pb
11y
1.5k
1
Reply
Please help me to convert an unmanaged structure pointer to byte[] in c#?
public struct struct1
{
public byte a;
public int b;
}
struct1 objstruct= new struct1();
struct1* ptrStruct=&objstruct;
ptrStruct->a=1;
ptrStruct->b=4;
how can i convert ptrStruct to byte[]?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
four line in textbox save in multiple excel columns c#.net W
MYSQL database connectivity through c# application