No announcements
Found 1188618 threads
-
3 Votes
Fill C# byte array in CPP
The important part is to be able to allocate a number of elements in C# which will be filled in C++ and read in C#.Answered | 7 Replies | 6156 Views | Created by crogger - Friday, January 28, 2011 2:56 PM | Last reply by crogger - Monday, January 31, 2011 9:35 AM -
2 Votes
C# compress byte array?
http://www.vcskicks.com/csharp-programming.php#Data Last item listed in the sectionVisual C# Kicks - http://www.vcskicks.com/Answered | 8 Replies | 22050 Views | Created by BlkDemon - Thursday, March 18, 2010 8:29 PM | Last reply by ZylonGaming - Wednesday, January 2, 2013 7:38 AM -
1 Votes
Array of Bytes convert to bitmap in c++
It's garbage because you CreateNewBuffer but don't fill in a header.Answered | 2 Replies | 8515 Views | Created by Rajkumar P - Friday, July 3, 2015 7:12 AM | Last reply by Wyck - Friday, July 3, 2015 3:45 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 | 10473 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
C# Shifting bit in byte array
Please refer to the following thread for an example of how you could do this: c# - left shift an entire byte array: ...Answered | 1 Replies | 5434 Views | Created by Vojtech Dusatko - Friday, February 12, 2016 8:20 PM | Last reply by Magnus (MM8) - Friday, February 12, 2016 8:38 PM -
0 Votes
Add bytes to byte array
> but it complaints the size is not enough The method "BitConverter.GetBytes" returns the specified 16-bit signed integer value as an array of bytes, ...Answered | 3 Replies | 13837 Views | Created by labjac - Tuesday, December 4, 2018 7:23 AM | Last reply by Kyle Wang - MSFT - Wednesday, December 5, 2018 2:14 AM -
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 | 324494 Views | Created by Shaa - Thursday, January 24, 2008 8:30 AM | Last reply by Prahlad Y - Friday, July 15, 2011 1:57 PM -
1 Votes
SUM of Byte Array values in C#
Just add them byte at a time and implement carry yourself.Answered | 5 Replies | 19067 Views | Created by Rama Subba Reddy - Wednesday, May 21, 2014 5:11 AM | Last reply by Wyck - Thursday, May 22, 2014 1:41 PM -
0 Votes
Byte array into an array of int
//The bytes is your byte array.Answered | 2 Replies | 1176 Views | Created by lctk - Thursday, April 6, 2017 12:29 AM | Last reply by Wendy Zang - Thursday, April 6, 2017 6:29 AM -
0 Votes
Referencing a struct as a byte array in C#
How do I reference a structure as a byte array in C#.Answered | 1 Replies | 3341 Views | Created by SCCoder - Tuesday, April 7, 2009 12:40 AM | Last reply by Reed Copsey, Jr - Tuesday, April 7, 2009 1:00 AM -
4 Votes
Multi-Dimensional Byte Array
The big database will be filled, after which a bunch of little threads will then be turned loose to take their own little piece of the big chunk.Answered | 10 Replies | 22825 Views | Created by User.01 - Tuesday, October 23, 2012 5:57 PM | Last reply by User.01 - Tuesday, October 23, 2012 7:56 PM -
2 Votes
byte [] array to string , and string to byte [] array
0) { System.IO.File.WriteAllBytes(@"C:\TestFolder\Test.txt", buffer); } Nagarjuna DilipAnswered | 4 Replies | 5197 Views | Created by eranotz65 - Saturday, January 22, 2011 1:50 PM | Last reply by NagarjunaDilip - Monday, January 24, 2011 7:30 AM -
1 Votes
Width and height of image from byte array C#
The answer to your question depends entirely on HOW you are converting the image to a byte array.Answered | 6 Replies | 12962 Views | Created by Suresh BadagI - Thursday, October 24, 2019 7:51 PM | Last reply by N Ram Ram - Wednesday, September 2, 2020 7:00 AM -
0 Votes
adding a byte to the beginning of a byte array
I am new to C# and have done most of my coding in Object Pascal (Delphi) so some things are new and some things I have forgotten!Answered | 2 Replies | 3712 Views | Created by Vulcanccit - Monday, April 13, 2009 9:25 PM | Last reply by Vulcanccit - Tuesday, April 14, 2009 12:45 AM -
0 Votes
Byte array search in another byte array (if not present search for first part of the searchfor byte array) in c#
Note that most of pattern matching literature refers to text and uses strings as examples, but the algorithms apply to byte arrays.Answered | 4 Replies | 1858 Views | Created by Leenu - Friday, August 31, 2012 9:55 AM | Last reply by Riced - Sunday, September 2, 2012 12:29 PM -
0 Votes
Bitmap form byte array
Not sure if I have to modify the content in m_myStreamImage before using in C# or which api that act like C++ api that I use.Answered | 3 Replies | 3626 Views | Created by PadungsakS - Friday, April 12, 2013 5:10 AM | Last reply by PadungsakS - Friday, April 12, 2013 9:09 AM -
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 | 1415 Views | Created by lctk - Monday, April 10, 2017 8:31 AM | Last reply by lctk - Wednesday, April 12, 2017 12:17 AM -
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 | 2065 Views | Created by Dynamic Kriz - Monday, February 11, 2013 6:05 AM | Last reply by Dynamic Kriz - Tuesday, February 12, 2013 4:26 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 | 6586 Views | Created by cwcc - Wednesday, October 7, 2009 9:59 AM | Last reply by cwcc - Thursday, October 8, 2009 1:56 AM -
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 array length and ...Answered | 3 Replies | 3948 Views | Created by groover1 - Sunday, July 10, 2011 12:16 PM | Last reply by groover1 - Wednesday, July 13, 2011 5:10 PM - Items 1 to 20 of 1188618 Next ›
No announcements