LSLStreamInfo.fromStreamInfoAddr constructor

LSLStreamInfo.fromStreamInfoAddr(
  1. int address
)

Implementation

factory LSLStreamInfo.fromStreamInfoAddr(int address) {
  final streamInfo = lsl_streaminfo.fromAddress(address);
  if (streamInfo.isNullPointer) {
    throw LSLException('Invalid stream info address');
  }
  return LSLStreamInfo.fromStreamInfo(streamInfo);
}