No announcements
Found 2898157 threads
-
0 Votes
How to copy data from array<Byte>^ to char* ?
How to copy data from C++/CLI array<Byte>^ to char* in c/c++? You should be able ...Answered | 2 Replies | 425 Views | Created by d22xxxx - Friday, July 7, 2017 5:24 PM | Last reply by d22xxxx - Friday, July 7, 2017 8:34 PM -
0 Votes
Insert item to Byte array
Code Snippet // Read characters from the console until the Escape key is pressed: Char[] input = new Char[0]; // the array to store the ...Answered | 1 Replies | 23871 Views | Created by Blizna - Saturday, May 10, 2008 1:24 PM | Last reply by herenvardo - Saturday, May 10, 2008 4:58 PM -
0 Votes
litle help with managed array<Byte>^ to char* !!!!
. i try to copy full data from managed array<Byte>^ to char*. but store onlyAnswered | 7 Replies | 402 Views | Created by d22xxxx - Saturday, July 8, 2017 11:48 AM | Last reply by d22xxxx - Saturday, July 8, 2017 1:48 PM -
0 Votes
How do I copy an object's value bytes into a byte array?
address of the variable and the number of bytes to copy and the address of the data in the recordset. If I can get the bytes of the objects value then I can use ...Answered | 4 Replies | 997 Views | Created by Michael Fitzpatrick - Thursday, June 12, 2014 9:28 PM | Last reply by Michael Fitzpatrick - Friday, June 13, 2014 7:17 AM -
0 Votes
C++/CLI Managed Byte Array to BYTE* and vice-versa
But can I just ask, how do you get the size of the data in BYTE? And how do I reverse it (from BYTE* to array<unsigned ...Answered | 11 Replies | 11395 Views | Created by JohnParker7 - Saturday, March 22, 2014 1:38 PM | Last reply by Barry-Schwarz - Sunday, March 23, 2014 12:27 AM -
0 Votes
byte array to char array
x+120 to a Byte array. Then i am copying that Byte array to a Char array, at this step i am losing some of that ...Answered | 9 Replies | 9994 Views | Created by Aaron Sulwer - Wednesday, February 1, 2006 7:54 PM | Last reply by Aaron Sulwer - Monday, February 6, 2006 5:00 PM -
1 Votes
Variable to char\byte array
32) or a byte array. My question is how to handle it. Can I typecast the passed variables into char/byte ...Answered | 1 Replies | 2766 Views | Created by CodeDuyvil - Monday, July 11, 2011 2:56 PM | Last reply by SimonRev - Monday, July 11, 2011 3:00 PM -
0 Votes
Casting char/byte array to IntPtr and convert char array to byte array
ability to use those data in any way I want I can use them as char or as just number . so It should be a way to get the pointer from char ...Answered | 8 Replies | 14847 Views | Created by [Joe] - Monday, January 21, 2008 6:46 PM | Last reply by rednael - Tuesday, September 9, 2008 7:18 AM -
0 Votes
Convert byte array to char* in a clr wrapper
byArray) -> Length); unsigned char* pByte = (unsigned char*)(&((structure -> byArray)[0])); // Use Marshal::Copy() to ...Answered | 8 Replies | 9638 Views | Created by BigLato - Thursday, April 26, 2012 2:35 PM | Last reply by BigLato - Monday, April 30, 2012 8:24 PM -
0 Votes
copy data from 1 dimensional byte array to 2 dimensional byte array
if i have 2 byte arrays such as byte[] s_temp_array = new byte[100]; byte[,] s_final_array = new ...Answered | 1 Replies | 4267 Views | Created by nattylife - Tuesday, February 13, 2007 6:23 PM | Last reply by Marcelo Guerra - MSFT - Wednesday, February 14, 2007 5:09 AM -
0 Votes
Unmanaged unsigned char array to managed byte array
) and return the unisgned char array as a byte array to the C-Sharp function knowing the length of the array to ...Answered | 10 Replies | 10441 Views | Created by mario_atallah - Tuesday, September 7, 2010 3:05 PM | Last reply by mario_atallah - Friday, September 10, 2010 12:32 PM -
0 Votes
How to convert unsigned char pointer to byte array?
array only byte pBuffer) and value is 0. Here is the question: what can i do for geting all pixels of frame from a byte variable? i read a lot ...Answered | 1 Replies | 5871 Views | Created by YusufErdogan - Monday, August 31, 2009 10:40 AM | Last reply by nobugz - Monday, August 31, 2009 12:19 PM -
0 Votes
HOWTO: Convert managed array<Byte^> to unmanaged char*
copy this data to unmanaged memory area. As I know String^ consists of array of wide chars, where each char is 2 ...Answered | 4 Replies | 11882 Views | Created by MishaSoft - Sunday, November 18, 2007 3:47 PM | Last reply by MishaSoft - Monday, November 19, 2007 6:16 AM -
0 Votes
How to get BYTE* from managed array^
Hi folks, I have an array<unsigned char>^ which holds raw image data. I have to pass an unmanaged BYTE* to some unmanaged ...Answered | 1 Replies | 3642 Views | Created by Xantur - Thursday, March 27, 2008 1:42 PM | Last reply by Mattias Sjögren - Thursday, March 27, 2008 2:37 PM -
0 Votes
copy char * from char*
If you just want to copy the pointers, then just memcpy the array. char*[16] is an array of 16 pointers. You can simply copy those ...Answered | 3 Replies | 4065 Views | Created by ericadam019 - Wednesday, August 12, 2009 2:14 PM | Last reply by davewilk - Wednesday, August 12, 2009 5:11 PM -
0 Votes
byte array to xml
Plz can somebody tell me how to get info from byte array. i have converted xml file data to byte ...Answered | 1 Replies | 8122 Views | Created by Sumit Chaturvedi - Friday, June 18, 2010 7:25 AM | Last reply by Dinesh Kattameda - Friday, June 18, 2010 11:42 AM -
1 Votes
Convert char to byte
You could always use the BitConverter.GetBytes method to get a 2-byte array from a single Unicode character. Also worth a try is the ...Answered | 4 Replies | 3943 Views | Created by MSDN Student - Monday, August 23, 2010 1:23 PM | Last reply by Ray M_ - Monday, August 23, 2010 8:56 PM -
0 Votes
CSharp Detecting only Character from Char or Byte Array
Dear All, I started to look for Detecting only Character from Char or Byte Array. Let say, byte[] bArr ...Answered | 2 Replies | 1198 Views | Created by Mr Ko Ko - Friday, March 1, 2013 9:12 AM | Last reply by Vic Vega - Friday, March 1, 2013 9:23 AM -
0 Votes
Convert char to byte
byte b = (char)c; What chances that I will loose data? and how can I convert without lossing ...Answered | 2 Replies | 4464 Views | Created by Betaw - Wednesday, August 15, 2007 6:32 AM | Last reply by nobugz - Wednesday, August 15, 2007 11:34 AM -
1 Votes
Easy convert Byte array to String or Char array?
Here's the deal. An I/O operation from a device requires a Byte array. OK, so I get the data. I know, as a matter of fact, that they are Ascii ...Answered | 4 Replies | 13882 Views | Created by Sparklight - Tuesday, February 26, 2008 6:05 PM | Last reply by Sparklight - Thursday, February 28, 2008 4:28 PM - Items 1 to 20 of 2898157 Next ›
No announcements