Re: Binary strucure with array full of integers
Posted by:
Rick James
Date: November 12, 2016 04:57PM
What language are you using? C? C#? Something else? Then Endian-ness is determined by the 'struct' mechanism of that language; MySQL merely takes the number of bytes starting at the pointer you give. It does not have an Endian problem.
If your struct is Big-Endian when writing, but Little-Endian when reading, then you will have a problem. I repeat: It is not MySQL's issue; it is whoever is creating and interpreting the BLOB.
Subject
Written By
Posted
November 04, 2016 04:14AM
November 04, 2016 11:30PM
November 08, 2016 07:39AM
Re: Binary strucure with array full of integers
November 12, 2016 04:57PM
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.