Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8659891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:07:01+00:00 2026-06-12T16:07:01+00:00

Consider the 16-Bit data packet below, which is sent through the network in network

  • 0

Consider the 16-Bit data packet below, which is sent through the network in network byte order ie Big Endian:

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 (Byte num)
34 67 89 45 90 AB FF 23 65 37 56 C6 56 B7 00 00 (Value)

Lets say 8945 is a 16 bit value. All others are 8 bit data bytes.

On my system, which is little endian, how would the data be received and stored?

Lets say, we are configured to receive 8 bytes at a time. RxBuff is the Rx buffer where data will be received.

Buff is the storage buffer where data would be stored.

Please point out which case is correct for data storage after reading 8 bytes at a time:
1) Buff[] = {0x34, 0x67, 0x45, 0x89, 0x90, 0xAB……. 0x00};

2) Buff[] = {0x00, 0x00, …….0x67, 0x89, 0x45, 0x34};

Would the whole 16 bytes data be reversed or only the 2 bytes value contained in this packet?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:07:03+00:00Added an answer on June 12, 2026 at 4:07 pm

    Only the 2 bytes value contained in the packet will be reversed.
    Endianess concern byte order, and not bit order.

    This is explain on wikipedia

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider the following XML: <response> <status_code>200</status_code> <status_txt>OK</status_txt> <data> <url>http://bit.ly/b47LVi</url> <hash>b47LVi</hash> <global_hash>9EJa3m</global_hash> <long_url>http://www.tumblr.com/docs/en/api#api_write</long_url> <new_hash>0</new_hash> </data>
Consider this bit of obfuscated code. The intention is to create a new object
I might be being a bit thicky here but please answer me this. Consider
I'm a bit puzzled about the conditional operator. Consider the following two lines: Float
I am using Qt 4.6.0 (32 bit) under Windows 7 Ultimate. Consider the following
Consider the following scenario: Page written in classic ASP or PHP, which is rendering
Bit of a long explanation below, with a hopefully accurate short question summary here:
Consider this x86 assembly code: section .data foo: mov ebx, [boo] mov [goo], ebx
Consider this sequential procedure on a data structure containing collections (for simplicity, call them
I created this 2D Qlist. Code works but when I consider a bit deeper

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.