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