

#include <nitro/wbt.h>int WBT_CalcPacketbitmapSize(int block_size);
block_size |
Size of the data to be received. |
Returns the receive archive record bitmap buffer size required to receive the corresponding amount of data.
Calculates and acquires the size required for the bitmap buffer for receive history records when receiving a specified data size with the WBT_GetBlock function.
Parents can only use this function after the WBT_InitParent function, and children can only use this function after the WBT_RequestSync function. If the transmission packet size and the receive block data size are already known, the WBT_PACKET_BITMAP_SIZE macro obtains the same results.
WBT_GetBlockWBT_PACKET_BITMAP_SIZE
2005/02/18 Changed description of packet bitmap to "receive archive record bitmap buffer."
2004/09/21 Initial version.
CONFIDENTIAL