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
latika singh
NA
31
33.6k
converting single to an array of double
Feb 16 2012 11:47 AM
Dear All,
I have created an application to transfer data on a UDP protocol as an asynchronous client socket. I am receiving 32 bytes of data on UDP in variable db.buffer.
db is an instance of a class and buffer is byte array.
I am executing the following statement:
Dim value As Double = BitConverter.ToSingle(db.buffer, 0)
after executing the statement the length of the value is converted to only single instead I want it to store as an array so that I can read all the bytes respectively. Is there a way to overcome this situation? How can I split the bytes and store them in an array of double or integer?
Reply
Answers (
2
)
Treeview search items problem in Silverlight 4/5
Auto Generate in DropDownList