|
TOBI Interface A
0.1
|
| void tia::DataPacket3Impl::reset | ( | void * | mem | ) | [virtual] |
Resets the whole DataPacket to be (re)build a DataPacket from raw memory.
| [in] | mem | Raw memory containing the raw representation of a DataPacket. |
| std::invalid_argument | if packet version missmatch |
Implementing safety checks, as far as possible.
Size field is skipped!
This method (re)builds a DataPacket object from a raw memory region, containing the raw representation of a DataPacket.
Implements tia::DataPacket.
Definition at line 113 of file data_packet_3_impl.cpp.