General discussion

  • Creator
    Topic
  • #2075237

    how do i use a single byte of data to st

    Locked

    by son ·

    I heard you can store font data via s ingle byte of data including font size, style, and faces.

All Comments

  • Author
    Replies
    • #3790521

      how do i use a single byte of data to st

      by amieveryours ·

      In reply to how do i use a single byte of data to st

      usyou must be using c++. store the value of each data in a set of define bits or bit. everytime u need to modified the data or retrieve it, you must use a masked byte for each different set of data.

      000 00 000
      111 10 111

      use ANDing and bitwise shifting to retrieve the data or modified it.

Viewing 0 reply threads