Questions tagged [binary-data]

Binary-data is information stored using a two character alphabet (typically written using 0 and 1)

Binary Data is information which is stored using a two character alphabet. For example, the number 42 could be stored as its base-2 representation: 101010.

In modern computers, almost all data is ultimately represented in binary form.

To be useful, the writer and reader of binary data must have a pre-agreed format (e.g. a file consisting of a 32-bit, two's compliment integer followed by three IEEE 754 floating point numbers).

The term is usually used to distinguish data stored in this way against data stored using a textual encoding. For example, the digits of 42 in base-10 (4 and 2) may be represented using ASCII as 00110100 and 00110010. Whether this is considered binary data or not depends on the task at hand; a chat client would consider messages as textual data, but the communication protocol it is built on may consider the same messages as arbitrary binary data.

1585 questions
0
votes
1 answer

Fit a loess line in R on binary data

I'm trying to fit a loess line on a scatterplot of a binary outcome variable with a continuous predictor variable. Here is the code I am using: lw1<-loess(y~x, data=df) plot(y~x, data=df, pch=19, cex=0.1) lines(df$x, lw1$fitted,…
Akos
  • 840
  • 2
  • 12
  • 22
0
votes
1 answer

Reading the Binary Data from JMeter sampler

Trying to read the Binary data response from JMeter sampler and deserialize it in the BeanShlll Post Processor. The flow is, controller first sends a request to a webservice, which returns binary data. When I view that in the JMeter, I see some junk…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
0
votes
1 answer

Convert Binary Data to Date

I have the following data: F0 60 5B 50 BB 27 C4 01 I am 99% certain that this represents the date: 21/04/2004 17:11:33 I cannot for the life of me work out how it is encoding it. Am I being dense? I've tried just reading it in as a binary date, but…
Jonathan
  • 25,873
  • 13
  • 66
  • 85
0
votes
1 answer

Impossible to encode 32-bit binary opcode in machine instruction

I have been trying to format binary opcodes for Motorola 68000, but I keep finding that it's not possible to encode both the destination memory address, instruction designation and addressing mode/size, and data value to be copied to the address bus…
0
votes
0 answers

Add and Retrieve array of custom datatype in mongodb using the C++ driver

I have an array of custom datatype such as a class or a structure and would like to store it in mongodb as binary data. How would I go about adding and retrieving that array from mongodb? I need to do this via the C++ driver. I was able to add and…
0
votes
3 answers

do any binary alternatives to XML exist

XML is one way to organize information in a tree-structured manner. However, I am looking for a mechanism that lets my software applications conveniently and efficiently store, retrieve and manipulate arbitrary information organized in a…
sophia
  • 39
  • 4
0
votes
2 answers

R: Create binary data from a data frame

i need some advise for the following problem: I have a dataframe with two columns, one containing the date, the other the frequency of a an event. Now i want to add a third column to this dataframe, wich should contain some binary data: 1 for days…
user3127770
  • 3
  • 1
  • 2
0
votes
1 answer

How can I import raw binary data into an image in Actionscript 2.0/Flash 8?

Let me preface this by saying that I am something of an actionscript newbie. We have a system that allows a user to upload any image, which we store on the server. Of course, it is simple to load an image (that you know the path to) using…
Dereleased
  • 9,939
  • 3
  • 35
  • 51
0
votes
2 answers

How to read binary file in distributed manner using Erlang?

I have few binary files of moderate size (1 to 5 GB) which I want to read and process using Erlang. Each file has records of varying sizes, i.e. one record will be 200 kb but other record may be 800 kb size. Record size can be obtained by reading…
Shekhar
  • 11,438
  • 36
  • 130
  • 186
0
votes
2 answers

Translate binary characters to a human readable string?

So let's say we have a string that is like this: ‰û]M§Äq¸ºþe Ø·¦ŸßÛµÖ˜eÆÈym™ÎB+KºªXv©+Å+óS—¶ê'å‚4ŒBFJF󒉚Ү}Fó†ŽxöÒ&‹¢ T†^¤( OêIº ò|<)ð How do I turn it into a human readable string of chars, cuz like it was a wierd output of HTML from a webserver…
y2k
  • 65,388
  • 27
  • 61
  • 86
0
votes
0 answers

Qt - writing(byte) variables to file

I'm working on huffman encode. I don't know how should I save code. I can't find and saving variables bytes. I found all I need. Now starting my problem. I want to write data file (encode). void encode::getHuffmanTree(int *frek,QString…
seniorc
  • 69
  • 1
  • 2
  • 6
0
votes
1 answer

Does anyone know where I can find a memory editing user control for .net?

I am developing a small application which lists the contents from files of a given format. The file format acts as a template for describing binary data (think binary xml). This allows the clients that produces these files to store data in any way…
Statement
  • 3,888
  • 3
  • 36
  • 45
0
votes
1 answer

Ideal Field Type For Fixed Width Binary Data

If I want to store binary data (hash values) and they're always 128bytes long, what field type should I use? BLOBs are nice, but they aren't fixed width (and result in dynamic tables).. CHAR requires a charset.
Ian
  • 24,116
  • 22
  • 58
  • 96
0
votes
1 answer

How to retrive decimal values back by applying any binary operation?

I have 2 or more than that decimal values , I' m converting these values to binary and applying binary operator and then I'm getting single binary value in mysql. And then I have to use this generated binary in C# and convert that binary value back…
Priyanka
  • 2,802
  • 14
  • 55
  • 88
0
votes
1 answer

Binary data stored in MySQL being corrupted

I need to store 50 KiB - 500 KiB binary files (actually zlib compressed text files) in a MySQL database. Assuming that there is good reason to do this as opposed to just writing them to the filesystem, I am having troubles with the data being…
dotancohen
  • 30,064
  • 36
  • 138
  • 197