Answered by:
byte array

Question
-
User-1586683164 posted
kindly explain the importance of byte array in asp.net ,,
In which situation it is using?
If we want to pass data over network we need to convert data into byte array??????
Saturday, September 3, 2011 8:07 AM
Answers
-
User-578657687 posted
Hi,
Byte represents an 8-bit unsigned integer. The byte array provides a mechanism to create an array of bytes. Each element within byte array is a byte or an integer between 0-255.
Files are made of bytes. A byte array represents the data within the an binary file. That means we can manipulate(write/read) any kind of binary file. For example, To save an image into database you firstly need to read this image into byte array and then you can save it into database. Instead, if you want to display the image from database in the page, you also need to use byte array to retrieve the image and then output it.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, September 6, 2011 11:59 PM
All replies
-
User-500842836 posted
hi friend
try this it may help you
http://msdn.microsoft.com/en-us/library/aa288453%28v=vs.71%29.aspx
Saturday, September 3, 2011 10:01 AM -
User-578657687 posted
Hi,
Byte represents an 8-bit unsigned integer. The byte array provides a mechanism to create an array of bytes. Each element within byte array is a byte or an integer between 0-255.
Files are made of bytes. A byte array represents the data within the an binary file. That means we can manipulate(write/read) any kind of binary file. For example, To save an image into database you firstly need to read this image into byte array and then you can save it into database. Instead, if you want to display the image from database in the page, you also need to use byte array to retrieve the image and then output it.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, September 6, 2011 11:59 PM -
Wednesday, September 7, 2011 12:21 AM