Search:

Type: Posts; User: learnc_kr

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,618

    the reason will be word allignnent and padding...

    the reason will be word allignnent and padding problem.

    if you deffine structure like this it will do the job i.e 10 bytes

    typedef struct{
    char tagid [ 3]; //0-2 TAG identifier. It contains...
  2. Replies
    41
    Views
    8,931

    memcpy

    hi,
    instead of copying bye by byte, you can copy 4 bytes at a time until you need to copy more than 4 bytes, after you can copy byte by byte. it will be faster.

    regards
Results 1 to 2 of 2