Unpacks data from a buffer.
a0tError | a0Unpack( | | | |
| | a0tBuffer | *buffer, | |
| | a0tDatatype | datatype, | |
| | void | *outbuf, | |
| | int | outcount );
| |
| Name | rd/wr | Description |
| buffer | read | Buffer descriptor to unpack from. |
| datatype | read | Datatype of the data to unpack. |
| outbuf | write | Address to unpack to. |
| outcount | read | Number of elements to unpack. |
Unpacks from buffer the outcount occurances of datatype typed data and stores it in memory, starting at address outbuf. Successive unpacks extract data from the beginning of the buffer, until no more data exist.
| Error Code | Description |
A0ErrFailPack | It was not possible to unpack all data. | |
A0ErrOk| Successful completion. | |
a0Pack() a0NewBuffer() a0SendBuffer() a0ReceiveBuffer() a0ISendBuffer() a0IReceiveBuffer() a0_DATATYPES