close method

void close()

Implementation

void close() {
  assert(isOpen);

  SpidevPlatformInterface.instance.close(_fd);
  _isOpen = false;
}