Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process<TElement>(IObservable<TElement[]>)

Writes all of the arrays in an observable sequence to the specified raw binary output stream.

public IObservable<TElement[]> Process<TElement>(IObservable<TElement[]> source) where TElement : unmanaged

Parameters

source IObservable<TElement[]>

The sequence of arrays to write.

Returns

IObservable<TElement[]>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the arrays to a binary stream.

Type Parameters

TElement

The type of the elements in each array. This type must be a non-pointer, non-nullable unmanaged type.

Process<TElement>(IObservable<TElement>)

Writes all of the values in an observable sequence to the specified raw binary output stream.

public IObservable<TElement> Process<TElement>(IObservable<TElement> source) where TElement : unmanaged

Parameters

source IObservable<TElement>

The sequence of values to write.

Returns

IObservable<TElement>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the values to a binary stream.

Type Parameters

TElement

The type of the elements in the sequence. This type must be a non-pointer, non-nullable unmanaged type.

Process(IObservable<byte[]>)

Writes all of the byte arrays in an observable sequence to the specified raw binary output stream.

public IObservable<byte[]> Process(IObservable<byte[]> source)

Parameters

source IObservable<byte[]>

The sequence of byte arrays to write.

Returns

IObservable<byte[]>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the arrays to a stream.

Process(IObservable<Mat>)

Writes all multi-channel matrices in an observable sequence to the specified raw binary output stream.

public IObservable<Mat> Process(IObservable<Mat> source)

Parameters

source IObservable<Mat>

The sequence of multi-channel matrices to write.

Returns

IObservable<Mat>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the matrices to a stream.