Goodmorning everybody! I was looking for the possibility to implement a way to declare a typedef structure of data.
I give you just an example: I have 3 words of 2 bytes (thus 6 bytes) like this 0x1073, 0x0270, 0x0212 and I want to convert them their binary values... Word1 = 0x1073 = 01000001110011 Word2 = 0x0270 = 00001001110011 Word3 = 0x0212 = 00001000010010 and then split binary values into variables: WORD1.Bin=11,0,1,0,0,0,001110011 WORD1.Decimal=[3][0][10][0][0][115] WORD2.Bin=00,0,0,0,0,1,001110000 WORD1.Decimal=[0][0][0][0][0][1][112] WORD3.Bin=0,0,0000000,00,00000 WORD3.Decimal=[0][0][0][0][0] Then I should implement fx to parse and revers their contents. Thx everybody will help me! Stefano, Milan, IT --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
