Commit a70087e1 authored by Oleg Korshul's avatar Oleg Korshul

no base 64 data

parent c3da9a66
This diff is collapsed.
...@@ -674,12 +674,20 @@ public: ...@@ -674,12 +674,20 @@ public:
m_nLen = read_int2(pData, nCur, nLen); m_nLen = read_int2(pData, nCur, nLen);
m_pData = new BYTE[m_nLen]; if (nVersion < 10)
m_pDataCur = m_pData; {
m_pData = new BYTE[m_nLen];
read_base64_2(pData, nCur, nLen); m_pDataCur = m_pData;
read_base64_2(pData, nCur, nLen);
delete[]pData; delete[]pData;
}
else
{
m_nLen = nLen;
m_pData = (BYTE*)pData;
m_pDataCur = m_pData + m_nLen;
}
return nVersion; return nVersion;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment