No announcements
Found 939538 threads
-
1 Votes
save byte array to xmlElement innertext
You can save a byte array to text and back with Convert.ToBase64String and Convert.FromBase64String.Answered | 4 Replies | 13962 Views | Created by eranotz65 - Wednesday, January 26, 2011 4:18 AM | Last reply by Louis.fr - Wednesday, January 26, 2011 2:54 PM -
0 Votes
converting a byte[] to a string successfully?
string ...Answered | 11 Replies | 3692 Views | Created by Teenprogrammer - Sunday, June 22, 2008 6:29 AM | Last reply by Teenprogrammer - Tuesday, June 24, 2008 3:55 AM -
2 Votes
How to pass an array of byte arrays using ODP.Net?
Hi all, I am trying to pass an array of byte arrays (byte[][]) to Oracle procedure using ODP.Net, which from the Oracle ...Answered | 1 Replies | 7591 Views | Created by DiligentKarma - Friday, December 2, 2011 11:36 PM | Last reply by Wang Huang - Saturday, December 3, 2011 9:20 AM -
3 Votes
Bits Shifting Of A Byte Array
Convert your integer to a 4-byte array and extend the array with another zero element.Answered | 14 Replies | 4242 Views | Created by Abdu Rahman - Tuesday, June 2, 2015 4:56 AM | Last reply by Reed Kimble - Friday, June 5, 2015 10:06 PM -
1 Votes
split the byte[] array
public static System.Collections.ArrayList SplitByteArray(byte[] bytes, int range) { // Declare variables const int ...Answered | 1 Replies | 14720 Views | Created by Csharpdevil - Wednesday, August 5, 2009 5:43 AM | Last reply by Geert van Horrik - Wednesday, August 5, 2009 7:15 AM -
0 Votes
Convert MAC address to byte array
I had to reverse the resulting array and trim the first two elements to get it to work.Answered | 5 Replies | 27097 Views | Created by EzEric - Monday, July 21, 2008 6:38 PM | Last reply by Charles1717 - Tuesday, February 8, 2011 12:11 AM -
0 Votes
Byte array to IRandomAccesStream
you can I think give it a shot with the following implementation: ...Answered | 1 Replies | 2235 Views | Created by its_me_here - Thursday, February 7, 2013 9:04 PM | Last reply by Can Bilgin - Thursday, February 7, 2013 9:56 PM -
14 Votes
IntPrt to Byte Array
Okay, then...how about this one, which will read until the access violation occurs, and returns what it read in a byte array?Answered | 19 Replies | 3591 Views | Created by Jonas Triki - Thursday, November 18, 2010 7:47 PM | Last reply by jinzai - Thursday, November 18, 2010 10:47 PM -
0 Votes
Size of BYTE Array
If the array was allocated with malloc, then the size can be obtained by _msize.Answered | 2 Replies | 7225 Views | Created by Parcxs - Monday, October 19, 2009 5:23 PM | Last reply by Viorel_ - Monday, October 19, 2009 5:48 PM -
0 Votes
Byte array size
30000 bits = 3750 bytes byte[] myArray = new byte[3750];Answered | 3 Replies | 2823 Views | Created by boss-tech - Friday, March 20, 2009 7:23 AM | Last reply by ScottyDoesKnow - Friday, March 20, 2009 1:24 PM -
0 Votes
Deserialize an array of bytes to a structure
this is my code: public static byte[] Serialize(object obj) { Type objectType = obj.GetType(); int ...Answered | 6 Replies | 7150 Views | Created by Arash Haghighat - Tuesday, October 18, 2011 12:50 PM | Last reply by Arash Haghighat - Saturday, October 29, 2011 7:33 AM -
0 Votes
Question about marshalling and byte array
As for GCHandle - you really can just pass the "byte[] bytes" array directly in your code example.Answered | 3 Replies | 2207 Views | Created by Vincent Rich - Thursday, July 12, 2012 4:02 PM | Last reply by Reed Copsey, Jr - Friday, July 13, 2012 5:01 PM -
0 Votes
Enum to Byte Array
How do I make that integer value to the byte array I expect?Answered | 3 Replies | 9531 Views | Created by Anu Viswan - Monday, April 7, 2014 12:34 PM | Last reply by - Monday, April 7, 2014 7:46 PM -
0 Votes
convert byte array into xml
I find this article but am not sure whether it works for you or not, just have a ...Answered | 3 Replies | 4835 Views | Created by Thangam - Kasim - Sunday, November 9, 2014 7:42 AM | Last reply by Ashok Kumar_ - Monday, November 10, 2014 3:43 AM -
0 Votes
byte to string to byte
You can use the Convert class for both: byte b = 55; string stringRepresentation = Convert.ToString (b, 2); byte byteRepresentation = ...Answered | 7 Replies | 2013 Views | Created by pelegk1 - Saturday, October 22, 2011 10:23 PM | Last reply by Malobukv - Saturday, October 22, 2011 11:41 PM -
0 Votes
Deserialize a byte array
As you said the dataStream is of 9 Byte size.Answered | 4 Replies | 3109 Views | Created by Avatar 123 - Tuesday, August 7, 2012 10:49 AM | Last reply by CoolDadTx - Tuesday, August 7, 2012 2:07 PM -
1 Votes
convert byte[]to string
Be careful with array indexes.Answered | 3 Replies | 2825 Views | Created by Sachin Tyagi - Tuesday, June 21, 2011 8:39 AM | Last reply by Adam Bielasty - Tuesday, June 21, 2011 9:27 AM -
0 Votes
Byte array containing Unicode characters
I guess if the returned byte array were returned in full I would sort of know the answer to that.Answered | 12 Replies | 3718 Views | Created by alleyes - Thursday, July 16, 2009 9:21 PM | Last reply by alleyes - Friday, July 17, 2009 7:28 PM -
4 Votes
string array into double array
He's dealing with strings, apparently.Answered | 18 Replies | 16537 Views | Created by vba123 - Friday, December 2, 2011 9:27 PM | Last reply by Louis.fr - Tuesday, December 20, 2011 9:59 AM -
5 Votes
Convert XML data to byte array...
Since I have xsd file for same xml which mentions datatype for each element, I was thinking if we can generalise this so that the code for creating byte array wont change.Answered | 8 Replies | 35711 Views | Created by IamHuM - Wednesday, January 14, 2015 2:10 PM | Last reply by Elmar Boye - Thursday, January 15, 2015 9:47 AM
No announcements