getI2Cinfo method
Returns a string representation of the I2C handle.
Implementation
String getI2Cinfo() {
_checkStatus();
var data = malloc<Int8>(bufferLen).cast<Utf8>();
try {
_checkError(_nativeI2Cinfo(_i2cHandle, data, bufferLen));
return data.toDartString();
} finally {
malloc.free(data);
}
}