Inserts new data into the packets data part.
- data (Object)
- Inserted data.
- type (VariantType)
- Type of inserted Data.
- pos (Int32)
- Position in bytes, in the packet data, where data is inserted.
Returns an error, if data is empty, or in an unknown form.
If the data is given in a hexadecimal string, every byte is separated with a space.
'Add new data to data part. GXPacket1.InsertData "01 02 03 04", GX_VT_HEX_STR, 0
Assembly: Gurux.Client (Module: Gurux.Client) Version: 5.0.0.1