readRawSpectralValues method

RawSpectralValues readRawSpectralValues()

Implementation

RawSpectralValues readRawSpectralValues() {
  return _usingOp<RawSpectralValues>((arena, opStatus) {
    final nativeData = arena<NativeRawSpectVals>();
    bindings.MathLibReadRawSpectralVals(_pointer, nativeData, opStatus);
    opStatus.ref.throwIfNotSuccessful();

    return nativeData.ref.toManaged();
  });
}