#include <pack.h>
#include <appconfig.h>
Go to the source code of this file.
Functions | |
| void | PackBits (void *src, void *dest, UInt8 nbits, UInt32 count) |
| pack from src->dest count of the nbits-lowest order bits | |
| void | UnpackBits (void *src, void *dest, UInt8 nbits, UInt32 count) |
| unpack from src->dest the number of bits into the count specified | |
pack and unpack bit field arrays.
Definition in file pack.c.
|
|
Value: ((1<<((X)-1)) | (1<<((X)-2)) | (1<<((X)-3)) | (1<<((X)-4)) | \
(1<<((X)-5)) | (1<<((X)-6)) | (1<<((X)-7)) | (1<<((X)-8))) |
|
||||||||||||||||||||
|
pack from src->dest count of the nbits-lowest order bits
Definition at line 23 of file pack.c. Referenced by WriteCityRecord(). |
|
||||||||||||||||||||
|
unpack from src->dest the number of bits into the count specified
Definition at line 63 of file pack.c. Referenced by ReadCityRecord(). |
1.2.18