getIndexPosition method
Implementation
int getIndexPosition() {
_ensureAttached();
final pIndex = calloc<Int64>();
try {
bindings.checkPhidgetError(
bindings.encoderGetIndexPosition(_handle!, pIndex),
'Encoder getIndexPosition');
return pIndex.value;
} finally {
calloc.free(pIndex);
}
}