binary-data Questions

3

I am working on a project that requires a client to de-crypt binary data received from the server. The scenario is that a server has binary data in a compressed and encrypted form. The browser need...
Hawsehole asked 26/7, 2012 at 9:20

6

Solved

I have binary data of an image in my database, and I want to display it in an image control in ASP.NET. How? If it is impossible, please find another way to save it in the database and display it i...
Mikemikel asked 12/9, 2011 at 16:26

1

Solved

I have a raw image file that is saved in binary data (no encoding). I want to read in the file and cast the values to an unsigned char. But I'm not sure how to begin going about doing this. Each fi...
Demimonde asked 26/6, 2012 at 19:38

2

Solved

I've been using localStorage to store some binary data in string format, and although the value is definitely set (alerting it immediately after setting, or even some time after setting, shows the ...
Shantelleshantha asked 23/6, 2012 at 15:31

1

Solved

We are using the Love2d Lua game engine that exposes a graphics api to Lua. We are trying to serialize a giant hash table that contains all the save game data for the game world. This hash includes...
Purple asked 2/6, 2012 at 21:53

2

Solved

I have a service that delivers zipped files over the web. The zip contains executable files for the Windows platform. I'm using the RubyZip library to compress the file but the process corrupts th...
Synchronize asked 12/5, 2012 at 13:43

2

Solved

Say, if I want to store PDFs or ePub files using MongoDB's GridFS, is it possible to perform full-text searching on the data files?

2

Try to select use "where" clause in a mysql statement: e.g. Table: X with a ID column which is BINARY data type. Then save in a variable in php $aid = $row["id"]; How do i use this variable late...
Architectural asked 21/3, 2012 at 6:45

1

Solved

I'm making an ajax call to an API that returns binary data. I'm wondering if its possible to take that binary data and display it for the client in a new window? This is what I'm doing right now. T...
Brandtr asked 8/3, 2012 at 15:47

1

Solved

I'm having some problems reading a binary file and converting it's bytes to hex representation. What I've tried so far: ifstream::pos_type size; char * memblock; ifstream file (toread, ios::in|...
Anacoluthia asked 8/3, 2012 at 17:17

1

I'm writing an ActiveX control for my friend, that should encapsulate encryption routines. It will be used from VB6 primarily. What data type should I choose for binary data like encryption key, in...
Byelaw asked 13/2, 2012 at 18:31

1

Solved

So basically, I'm trying to write a series of scripts to interact with Dot Net Nuke. I've been analysing the traffic and can now login and do some basic tasks. However, I've never handled binary fi...
Violetteviolin asked 3/2, 2012 at 18:59

8

Solved

I am trying very hard to develop a much deeper understanding of programming as a whole. I understand the textbook definition of "binary", but what I don't understand is exactly how it applies to my...
Condorcet asked 27/1, 2012 at 22:57

3

I am storing image files (like jpg, png) in a PostgreSQL database. I found information on how to do that here. Likewise, I want to store videos in a PostgreSQL database. I searched the net - some ...
Metamorphism asked 23/1, 2012 at 11:7

3

Solved

I have some 2TB read only (no writing once created) files on a RAID 5 (4 x 7.2k @ 3TB) system. Now I have some threads that wants to read portions of that file. Every thread has an array of chunks...
Aorangi asked 17/1, 2012 at 16:4

1

Solved

I look forward to develop an Android / iPhone application, those will be using a private API (Non-Free) with embedded client-key. Now, since it is possible to reverse-engineer application binaries...
Communicative asked 2/1, 2012 at 14:53

3

Solved

I've been trying to read up on iostreams and understand them better. Occasionally I find it stressed that inserters (<<) and extractors (>>) are meant to be used in textual serializatio...
Bukavu asked 22/11, 2011 at 17:10

1

Solved

Is there API available in any language that can run on a Mac (Perl/Python/Cocoa/etc) or command line tools you can use to load a binary (app/bundle/framework/etc) and extract the hard-coded strings...
Chaoan asked 16/11, 2011 at 8:45

3

Solved

I'm trying to extract the date/time when a picture was taken from the CR2 (Canon format for raw pictures). I know the CR2 specification, and I know I can use Python struct module to extract pieces ...
Ikkela asked 12/9, 2010 at 21:14

4

I opened a wave file through hex editor. I tried two hex editors, and both put 44100 in hex (AC44) in reversed order. Why is that? For ASCII characters, "fmt", the ordering is natural. This is ...
Stringy asked 1/11, 2011 at 20:44

2

Solved

What is the cleanest way to parse binary data in clojure? I need to be able to read/write equally cleanly to a file or a socket. something like: (read-data source-of-data) => { :index 42 , :b...
Charlton asked 15/4, 2009 at 0:34

1

Solved

I am struggling for quite some time with outputting a raw type to standard output. Here is what I tried and did not work the desired way: r <- as.raw(c(0x41, 0x00, 0x43)) # r = "A\0C" cat(rawTo...
Gogetter asked 14/9, 2011 at 20:26

4

Solved

I'm looking for a binary delta storage solution to version large binary files (digital audio workstation files) When working with DAW files, the majority of changes, especially near the end of the...
Exegesis asked 29/8, 2011 at 18:34

2

Solved

I'm writing a parser for a binary format. This binary format involves different tables which are again in binary format containing varying field sizes usually (somewhere between 50 - 100 of them). ...
Daffodil asked 25/8, 2011 at 23:29

2

Solved

I'm trying to write data to a file in binary format for compression. The data consists entirely of floating points so I decided to quantize the data to an intergers between 0 and 65535 so the data ...
Aubergine asked 8/8, 2011 at 11:40

© 2022 - 2024 — McMap. All rights reserved.