The binary-data tag has no wiki summary.
1
vote
0answers
7 views
JavaFX - Create pdf from binary data
I am writing a JavaFX application that uses WebView to access a website and extract data from its pages. At some point I want to click on a link that opens up a new window which shows a PDF file. With ...
0
votes
0answers
15 views
PHP Convert PDF Binary data into a PNG or JPEG
Im using PDFLIB to generate a PDF but im not saving the pdf instead im getting the Binary data for the PDF. What I would like to do is take that data and convert it to a PNG or even JPEG. Does anyone ...
0
votes
0answers
36 views
Which is better datatype to store binary data string or vector of char in c++ [duplicate]
I have been working in a project to upload and download binary data, i have done uploading and downloading using binary data by storing them in string, but some says binary data should be stored in ...
1
vote
1answer
9 views
phantomjs and passing imagedata as json
Can I use phantomjs to create an image of the contents of <div><iframe ..></div> (The div contains an iframe)
how do I make this image (binary data) as part of a json ? , as ({img: ...
0
votes
1answer
21 views
Simperium for syncing binary data using Core Data?
I'm using Simperium to sync instances of my app's data between each other. I went with this over iCloud because I've heard iCloud has a lot of issues with Core Data and as a novice to iOS, I believe ...
0
votes
1answer
33 views
Read array of struct from binary data save by CArchive
I am trying to read data from a file which is being written by CArchive. I have the original source which is being used to read and write using CArchive. But, I am trying to read this through C# code. ...
0
votes
2answers
54 views
Integer can not be written as a string with correct form to binary file
I'm reading data from a database to write to a binary file and using the bcp command of Sybase to write big data to my new database in one go (or thousand by thousand etc.)
You can see my entity ...
0
votes
1answer
34 views
Read Binary Data from the server
Im looking to read the binary data coming from the java server like
DataOutputStream dos = new DataOutputStream(response.getOutputStream());
//dos.writeInt(5);
dos.writeUTF("some text");
dos.flush();
...
3
votes
2answers
73 views
Checking if file is a binary file
How can I know if a file is a binary file?
For example, compiled c file.
I want to read all files from some directory, but I want ignore binary files.
0
votes
0answers
11 views
SWIG unsigned char and byte[]
I've looked all over the place. I have tried some of the techniques on this site. To no avail.
I have a c++ global function
char* squid( char* buff, int len );
I create a .i file
%module ...
0
votes
1answer
49 views
ostringstream::write method modifies input parameter
Consider the following snippet which gets some binary data and writes it to an ostringstream object:
unsigned char* payload;
unsigned long size;
GetData(&payload, &size);
std::cout ...
0
votes
1answer
17 views
What are those 32 bits near the start of a FLAC file?
I am trying to write a parser to extract information from the following FLAC file:
$ hd audio.flac | head -n 6
00000000 66 4c 61 43 00 00 00 22 12 00 12 00 00 00 00 00 |fLaC..."........|
00000010 ...
0
votes
1answer
92 views
Embedding PDF in an MVC view from binary data
My issue is I'm currently receiving from a web service response a string that is the binary data of a PDF file. I need to display this PDF file embedded in an MVC view. I'm using C#.
Any pointers are ...
0
votes
1answer
25 views
Does mysqldump handle binary data reliably?
I have some tables in MySQL 5.6 that contain large binary data in some fields. I want to know if I can trust dumps created by mysqldump and be sure that those binary fields will not be corrupted ...
0
votes
0answers
35 views
Javascript data URI to binary
I have a data URI for a PNG image (as the src of an image in an HTML document). I would like to be able to POST that image using an XMLHTTPRequest to a REST API. The API accepts the image in the ...