Skip to main content

All Questions

Tagged with
1 vote
2 answers
274 views

Interlacing two binary numbers together in Arduino C

So I've come across a strange need to 'merge' two numbers: byte one; byte two; into an int three; with the first bit being the first bit of one, the second bit being the first bit of two, the third ...
AlwaysNeedingHelp's user avatar
0 votes
1 answer
171 views

Having trouble converting in binary to decimal for rather large numbers

I'm converting Binary numbers to decimal numbers fine until my number seems to surpass $2^64$ . It seems because the data type can't hold numbers larger than $2^64$ any insight? What happens is the ...
user avatar
2 votes
3 answers
9k views

extract a stored png image from a binary file the right way

I have binary files which contain each one PNG file at a time (the binary file is not a DLL, not a EXE, nothing usual, just a file which contains different textual information, a PNG file and some ...
feedwall's user avatar
  • 1,574
2 votes
3 answers
153 views

Application-specific data and how to handle it?

I am curious as to how applications generate their own data that is used with the application itself. For example, if you take any kind of PC game's save file or some sort of program that generates ...
Aaron's user avatar
  • 10.9k
4 votes
3 answers
30k views

How do you read binary data in C# .NET and then convert it to a string?

As opposed to using StreamReader/Filestream I want to read binary data from files and show that data (formatted) in a textbox.
liamzebedee's user avatar
  • 14.5k
4 votes
2 answers
2k views

Parse binary data for c# bootp server?

I need one of my C# .NET applications to act as a bootp server. The protocol is pretty simple but I dont know an easy way to build/parse the binary data. Any ideas: (source: tcpipguide.com)
Tim's user avatar
  • 8,226
0 votes
1 answer
452 views

Binary Data Vb6 to C#

I've a problem! I've a binary data that I know that is been created using Vb6, I want read all informations using C#. How Can I do this? I don't data structure of the file!!! Thanks for your ...
Giomuti's user avatar
  • 301