Valhalla Legends Forums Archive
|
.NET Platform
| [vb.net] noob question
Author
Message
Time
mentalCo.
how do you assign a value to a short from a buffer. like in c++ its:
[code]
shortSomevalue = *(unsigned short*)(buffer+2)
[/code]
November 3, 2004, 1:46 AM
Myndfyr
Use the BitConverter class. I remark about it briefly in
this post
(in other words, you could have searched).
Information on the BitConverter class can be found at
MSDN
.
November 3, 2004, 1:53 AM
Search