All Questions
11 questions
-1
votes
1
answer
1k
views
store binary data of media(image/video) received from whatsapp cloud API
i have to store binary data of which i received from whatsapp cloud api. i am using node js but unable to send the file data using form data
here is reference i have referred https://developers....
0
votes
1
answer
323
views
Unable to convert file to binary format for sending to wit.ai api using node.js
I am facing an issue in converting Audio file to Binary format. I need to send it to Wit.AI api which is expecting the data in that format. I am using node.js. In my front-end I am recording the user ...
7
votes
1
answer
5k
views
Reading/writing/copying an ArrayBuffer into another ArrayBuffer with an offset
Let's say I have an ArrayBuffer which is an mp4 file. I'd like to create a new ArrayBuffer with a few extra bytes to be used as header information, and then store the mp4 buffer in the remainder of ...
0
votes
1
answer
72
views
How can I slice out a specific chunk of a (partially) downloaded file based on a hex signature?
What I'm attempting to solve:
There is an uncompressed zip file which contains two (2) separate files within it. One is a manifest which contains certain metadata about the zip, and the other is an ...
0
votes
1
answer
113
views
Error in retrieving Binary data using AMQP reciever
I am trying to receive message using nodejs + amqp receiver. I could observe that the binary data higher than 7f was shown as ef bf bd.
var messageHandler = function (myIdx, msg) {
var data = new ...
2
votes
1
answer
2k
views
Node JS + DIME - sending binary data in POST
There's a file 1740 bytes long, it's contents is read to a Buffer res. res.length is 1740 and res.toString('binary', 0, res.length).length is also 1740.
I send a POST request using request lib
...
4
votes
2
answers
11k
views
Node.js convert binary file to utf8
I have a jrmxl (Jasper report) file stored in a postgresql database in a binary format (bytea). I'm trying to read that file and convert it into a plain jrmxl (XML) file and save it on the disk.
Here ...
1
vote
1
answer
4k
views
Writing binary data from a Nodejs buffer to a blob on Meteor client
I'm trying to create a CSV file that will be saved with UTF-16LE encoding on the server and then pass the result to the client. This is what I do, in Coffeescript:
Meteor.methods {
iconv: (data, ...
6
votes
2
answers
3k
views
Problems in writing binary data with node.js
I am trying to write the binary body of a request to a file and failing. The file is created on server but I am unable to open it. I am getting 'Fatal error: Not a png' on Ubuntu. Here is how I am ...
1
vote
1
answer
678
views
Can't find mp3 frame header sync bits in node stream
I am almost at the end of my rope on this one. I am attempting to parse out mp3 frame data, but I am having a bear of a time locating any frames. I am using Node 0.10 and trying to make use of the ...
3
votes
1
answer
2k
views
C.S. Basics: Understanding Data Packets, Protocols, Wireshark
The Quest
I'm trying to talk to a SRCDS Server from node.js via the RCON Protocol.
The RCON Protocol seems to be explained enough, implementations can be found on the bottom of the site in every ...