nn::ir::CTR::Communicator::GetPacketSize Member Function

Syntax

static size_t GetPacketSize(
     size_t dataSize
);

Parameters

Name Description
in dataSize Data size

Return Values

The size of the packet.

Description

Calculates the size required for saving one data packet in the buffer used internally by the IR library. This size is equal to the size calculated by the CalculateBufferSizeToCommunicate function plus the fixed-size header and footer.

Revision History

2011/08/30
Initial version.

CONFIDENTIAL