|
PST File Format SDK v0.4
|
Collaboration diagram for Utility Functions:Functions | |
| template<typename T > | |
| ushort | pstsdk::disk::compute_signature (T id, T address) |
| Calculate the signature of an item. | |
| template<typename T > | |
| ushort | pstsdk::disk::compute_signature (const block_reference< T > &reference) |
| Calculate the signature of an item. | |
| ulong | pstsdk::disk::compute_crc (const void *pdata, ulong cb) |
| Compute the CRC of a block of data. | |
Variables | |
| const ulong | pstsdk::disk::crc_table [] |
| Precalulated CRC table, used by compute_crc. | |
| const byte | pstsdk::disk::table1 [] |
| Data table1 used by permute and cyclic. | |
| const byte | pstsdk::disk::table2 [] |
| Data table2 used by permute and cyclic. | |
| const byte | pstsdk::disk::table3 [] |
| Data table3 used by permute and cyclic. | |
|
inline |
| ushort pstsdk::disk::compute_signature | ( | const block_reference< T > & | reference | ) |
Calculate the signature of an item.
| [in] | reference | A block_reference to the item |
Precalulated CRC table, used by compute_crc.