CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Dec 2005
    Posts
    382

    endian and proxy representation

    Given:
    A [0..4] - where 0..4 represents a bit proxy 4 wide
    B [5..8] - where 5..8 represents a bit proxy 4 wide
    C [9..12] - where 9..12 represents a bit proxy 4 wide
    D [13..16] - where 13..16 represents a bit proxy 4 wide

    Lets assume MSB is defined as bit 0 on a Server implemention. Server transmits: 0xABCD
    Client is little endian and receives. 0xCDAB. To account for endianness Client converts data to: 0xABCD. If the Client wanted to check a proxy (say 0..4 for the value 'A') the client must subtract 16. True/False? My counterpart made a comment about Server data being backwards and I'm not following his logic. In my view this is mandatory when you're dealing with endianess and nibbles.
    Last edited by mop65715; June 20th, 2010 at 01:32 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured