MySQL Forums
Forum List  »  General

Binary strucure with array full of integers
Posted by: sdgbfdsg fdhgfdhds
Date: November 04, 2016 04:14AM

Im writing a binary to a blob from one application to a MySQL database.

Basically it is full of arrays of ints.

I transfer them as binary and they should up in this format:



h t t p : / / i . i m g u r . c o m / n E m 2 2 Q l . p n g

This is correct because var1[0] contains 1 var1[1] contains 1 var1[2] conains 1....etc and var2[0] contains 2 var2[1] contains 2 var2[2] contains 2.....etc

I do need to extract this from this blob and insert it into another table in its int format. The array are all sized as 250 so that number is static.

From what I understand, the application from Im inserting the data from to the MySQL database uses the Little Endian Format (Intel). If that helps

Options: ReplyQuote


Subject
Written By
Posted
Binary strucure with array full of integers
November 04, 2016 04:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.