No announcements
Found 939398 threads
-
2 Votes
byte [] array to string , and string to byte [] array
I don't know why you want this what is ur purpose but you can do this by wring byte values as string.Answered | 4 Replies | 5036 Views | Created by eranotz65 - Saturday, January 22, 2011 1:50 PM | Last reply by NagarjunaDilip - Monday, January 24, 2011 7:30 AM -
2 Votes
Convert Array in String to Array in Byte
string[] myString = { "7E", "A1" }; byte[] myBytes = Array.ConvertAll<string, byte>(myString,(strHold) ...Answered | 8 Replies | 6385 Views | Created by cwcc - Wednesday, October 7, 2009 9:59 AM | Last reply by cwcc - Thursday, October 8, 2009 1:56 AM -
0 Votes
Convert Array of strings to Array of Bytes
Your string[] is actually a byte[] in memory where each byte represent one byte of a string.Answered | 5 Replies | 1664 Views | Created by William256 - Friday, August 30, 2013 6:39 PM | Last reply by Lincoln_MA - Friday, August 30, 2013 10:00 PM -
1 Votes
Convert string[] array to byte[] array
Hi All, could any one please help me out the following, I am trying to convert the following string [] to ...Answered | 1 Replies | 2730 Views | Created by _prasad - Tuesday, June 24, 2014 11:58 AM | Last reply by Margriet Bruggeman - Tuesday, June 24, 2014 12:53 PM -
9 Votes
C# byte[] array to string
You can convert strings and integers to byte array like below: using System; using System.Collections.Generic; using ...Answered | 15 Replies | 10270 Views | Created by shimo diaz - Thursday, April 29, 2010 7:15 PM | Last reply by Yasser Zamani - Mr. Help - Saturday, May 1, 2010 4:17 AM -
0 Votes
Hex string to byte array
Because your string is being converted to bytes you can use XOR directly to calculate the checksum, but you will have to manipulat thhbyte array in order to calculate ...Answered | 21 Replies | 29932 Views | Created by Lingoer - Saturday, August 4, 2012 3:05 AM | Last reply by Lingoer - Tuesday, August 7, 2012 12:08 PM -
12 Votes
Byte array to String in C#
It has a line on how to infer encoding of a text and use it to properly convert byte array to appropriate characters: $encoding = [System.Answered | 5 Replies | 324083 Views | Created by Shaa - Thursday, January 24, 2008 8:30 AM | Last reply by Prahlad Y - Friday, July 15, 2011 1:57 PM -
0 Votes
Convert 2D array of String to 2D array of Byte
@Acamar, I did read a 2D array of string, not a string to a byte array but maybe was meant simply one long string. .Answered | 6 Replies | 836 Views | Created by rasha mohammad - Wednesday, March 30, 2016 8:17 AM | Last reply by Reed Kimble - Wednesday, March 30, 2016 7:05 PM -
6 Votes
String and Array of Byte
I have clarified that i need two functions for inter-conversion of byte array and ...Answered | 28 Replies | 1307 Views | Created by NaxAlpha - Sunday, January 20, 2013 11:51 AM | Last reply by NaxAlpha - Monday, January 21, 2013 8:19 AM -
52 Votes
byte[] Array to Hex String
It converts a stream (from say an image file) into a string of hex with line breaks every 256 bytes.Answered | 35 Replies | 362031 Views | Created by tlc660 - Wednesday, June 28, 2006 3:40 AM | Last reply by ilia.broudno - Thursday, December 4, 2014 2:15 AM -
0 Votes
how to convert a string to byte array?
hi Please try this snippet code Dim StringVariable As String = ...Answered | 2 Replies | 2138 Views | Created by Fatima AmirAfshar - Wednesday, November 2, 2011 10:41 AM | Last reply by YosrJ - Wednesday, November 2, 2011 10:46 AM -
0 Votes
sha1 returned byte array to string!
i need the string to be like: 53830e23c89e72e277b79247c14580f718325ea0Answered | 4 Replies | 10719 Views | Created by Peacelyk - Thursday, November 11, 2010 3:32 PM | Last reply by Cabadam - Thursday, November 11, 2010 4:12 PM -
4 Votes
Read string from byte array
You can also use the special constructor of string that takes ‘sbyte*’.Answered | 5 Replies | 2774 Views | Created by Piucco - Saturday, June 16, 2012 11:53 PM | Last reply by Wyck - Monday, June 18, 2012 11:49 AM -
0 Votes
How to convert string to byte array?
You can do it simply the foolish way: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ...Answered | 2 Replies | 11126 Views | Created by Ahojko - Monday, October 31, 2005 8:52 PM | Last reply by Abhishek De - Tuesday, August 14, 2012 12:24 PM -
2 Votes
How to set string to content of byte array (no encoding)
Of course you should not translate a byte[] to a string unless you know that the byte[] represents a string of characters.Answered | 5 Replies | 6715 Views | Created by Blizna - Thursday, December 11, 2008 12:31 PM | Last reply by Bassem.mf - Friday, December 12, 2008 4:17 PM -
0 Votes
Byte array
I had a solution converting the data bytes into a Hex string array and combining this with a Hex string array from 0000 to data ...Answered | 3 Replies | 3780 Views | Created by groover1 - Sunday, July 10, 2011 12:16 PM | Last reply by groover1 - Wednesday, July 13, 2011 5:10 PM -
0 Votes
Byte array into an array of int
static void Main(string[] args) { // Create an Integer from a 4-byte array.Answered | 12 Replies | 1186 Views | Created by lctk - Monday, April 10, 2017 8:31 AM | Last reply by lctk - Wednesday, April 12, 2017 12:17 AM -
0 Votes
Copy the bytes that comprise a String into an existing array.
I tested three ways of putting the bytes of a string S into the array A at offset O Quick: ...Answered | 4 Replies | 2959 Views | Created by Captain Kernel - Monday, November 15, 2010 12:54 AM | Last reply by Captain Kernel - Monday, November 15, 2010 2:40 PM -
1 Votes
Remove byte from an byte array
i understood how to remove last byte from array, nowhelp me in How to remove 1st byte from the array?Answered | 13 Replies | 11888 Views | Created by Avatar 123 - Tuesday, August 7, 2012 8:09 AM | Last reply by Chris-von-der-Wiese - Tuesday, August 7, 2012 2:20 PM -
2 Votes
Byte Array
The text file which I saved contains the byte array information that is the pixel values ranging from 0 - 255 (black - white); maybe I am missing somethings please ...Answered | 5 Replies | 1890 Views | Created by Dynamic Kriz - Monday, February 11, 2013 6:05 AM | Last reply by Dynamic Kriz - Tuesday, February 12, 2013 4:26 AM - Items 1 to 20 of 939398 Next ›
No announcements