MySQL Forums
Forum List  »  General

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.

Options: ReplyQuote


Subject
Written By
Posted
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.