mirror of
https://github.com/sfall-team/int2ssl.git
synced 2026-07-27 16:52:42 -07:00
Dump feature implemented
This commit is contained in:
+2
-2
@@ -4,13 +4,13 @@
|
||||
|
||||
UINT ReadMSBWord(CArchive& ar, WORD& wValue)
|
||||
{
|
||||
BYTE* pBuffer = reinterpret_cast<BYTE*>(&wValue);
|
||||
char* pBuffer = reinterpret_cast<char*>(&wValue);
|
||||
return (ar.Read(pBuffer + 1, 1) + ar.Read(pBuffer, 1));
|
||||
}
|
||||
|
||||
UINT ReadMSBULong(CArchive& ar, ULONG& ulValue)
|
||||
{
|
||||
BYTE* pBuffer = reinterpret_cast<BYTE*>(&ulValue);
|
||||
char* pBuffer = reinterpret_cast<char*>(&ulValue);
|
||||
return (ar.Read(pBuffer + 3, 1) + ar.Read(pBuffer + 2, 1) +
|
||||
ar.Read(pBuffer + 1, 1) + ar.Read(pBuffer, 1));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user