Gets size of packed data.
a0tError a0GetPackedSize( | | | |
| a0tDatatype | datatype, | |
| size_t | *size );
| |
Name | rd/wr | Description |
datatype | read | Datatype to get the size. |
source | write | Size of the datatype when packed. |
This function calculates the amount of bytes needed to pack a given datatype. It is useful to build buffers with enough space to pack all data nedded into it.
On return of this function, the variable pointed by size contains the packed size of datatype.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0Receive() a0IReceive() a0ReceiveBuffer() a0IReceiveBuffer() a0WaitRequest()