Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. i want to convert the byte information into bit information

i want to convert the byte information into bit information

Scheduled Pinned Locked Moved C / C++ / MFC
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    huma satti
    wrote on last edited by
    #1

    hello everybody i have taken as input the wireless packets. it contains a two byte control field. i want to extract bits information from these two byte information. how can i do that. Like control field has 2 bits of type information and 4 bits of subtype information . i want to extract these pieces of information. can anybody tell me how can i do that. in what data type should i take the bits information. thanks

    C 1 Reply Last reply
    0
    • H huma satti

      hello everybody i have taken as input the wireless packets. it contains a two byte control field. i want to extract bits information from these two byte information. how can i do that. Like control field has 2 bits of type information and 4 bits of subtype information . i want to extract these pieces of information. can anybody tell me how can i do that. in what data type should i take the bits information. thanks

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      See this article[^]

      Cédric Moonen Software developer
      Charting control [v1.4 - Updated]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups