getMessages method

Pointer<NativeI2Cmsg> getMessages()

Returns a Pointer

Implementation

Pointer<NativeI2Cmsg> getMessages() {
  if (_isFreed) {
    throw I2Cexception(I2CerrorCode.i2cErrorClose,
        "Not allowed acccess to a 'dispose()'ed memory structure.");
  }
  return _messages;
}