After each successfull read/write operation of a value in the data block, this property is automatically set to the end (behind) yhe read/written value (to the beginning of next read/written value). This can be used for continuous value reading/writing or for detecting the number of read/written bytes by the difference of the value of this property before the operation and after the operation.
The read/write position is available in the form of the nOffset parameter in each method working with the item or a portion of the data block, where the value -4 means that the value of this internal positioning AutoOffset is used.
var oBuf = Pm.CreatePmBuffer();
var s1 = "40302010605070";
oBuf.AutoOffset = 0;
var i32 = oBuf.GetInt32(-4);
var i16 = oBuf.GetInt16(-4);
var ui8 = oBuf.GetUint8(-4);
var nAutoOffset = oBuf.AutoOffset; //nAutoOffset = 7