MCPcopy Create free account
hub / github.com/diasurgical/devilution / codec_get_encoded_len

Function codec_get_encoded_len

Source/codec.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93DWORD codec_get_encoded_len(DWORD dwSrcBytes)
94{
95 if (dwSrcBytes % 64 != 0)
96 dwSrcBytes += 64 - (dwSrcBytes % 64);
97 return dwSrcBytes + 8;
98}
99
100void codec_encode(BYTE *pbSrcDst, DWORD size, int size_64, char *pszPassword)
101{

Callers 5

TESTFunction · 0.85
SaveGameFunction · 0.85
SaveLevelFunction · 0.85
codec_encodeFunction · 0.85
pfile_encode_heroFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68