Table of Contents

Class MatrixWriter

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that writes each array-like object in the sequence to a raw binary output stream.

public class MatrixWriter : StreamSink<ArraySegment<byte>, BinaryWriter>
Inheritance
MatrixWriter
Inherited Members

Properties

Layout

Gets or sets a value specifying the sequential memory layout used to store the sample buffers.

Methods

CreateWriter(Stream)

Creates a binary writer over the specified Stream.

Process(IObservable<Mat>)

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

Process(IObservable<byte[]>)

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

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

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

Write(BinaryWriter, ArraySegment<byte>)

Writes a new array to the raw binary output stream.