int WINAPI Decompress(
char * pbOutBuffer,
int * pcbOutBuffer,
char * pbInBuffer,
int cbInBuffer
);
pbOutBuffer
[out] Pointer to buffer where the decompressed data will be stored.
pcbOutBuffer
[in, out] On call, pointer to the length of the buffer in pbOutBuffer. When finished, this variable receives length of the decompressed data.
pbInBuffer
[in] Pointer to data that are to be exploded.
cbInBuffer
[in] Length of the data pointed by pbInBuffer.
第一第三大概指的是写入和读取的缓存位置,第四个应该是读取缓存的大小,但第二个不太懂。 最好写一个例子
1
ysc3839 2019-08-12 00:11:38 +08:00 via Android
调用前先设置成 `pbOutBuffer` 的长度,调用后会被设置成实际数据的长度。
|
2
v2byy 2019-08-12 00:13:30 +08:00 via iPhone
就是一个 in out 参数啊,入参表示第一个参数长度,同时函数返回表示第三个参数的长度,都写在注释里啊
|