Show / Hide Table of Contents

Class RAPWriter

A writer for writing Recordings to a stream in the RAP format.

Inheritance
System.Object
RAPWriter
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Recolude.Core.IO
Assembly: Recolude.Core.dll
Syntax
public class RAPWriter : IDisposable

Constructors

RAPWriter(Stream)

Creates a new writer for RAP files with the default encoders of Position, Euler, Event, And Enum. The stream will automatically be closed when this writer is disposed of.

Declaration
public RAPWriter(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

The stream to write the recordings too.

RAPWriter(Stream, IEncoder<ICaptureCollection<ICapture>>[], Boolean)

Declaration
public RAPWriter(Stream stream, IEncoder<ICaptureCollection<ICapture>>[] encoders, bool leaveOpen)
Parameters
Type Name Description
System.IO.Stream stream
IEncoder<ICaptureCollection<ICapture>>[] encoders
System.Boolean leaveOpen

RAPWriter(Stream, Boolean)

Creates a new writer for RAP files with the default encoders of Position, Euler, Event, And Enum.

Declaration
public RAPWriter(Stream stream, bool leaveOpen)
Parameters
Type Name Description
System.IO.Stream stream

The stream to write the recordings too.

System.Boolean leaveOpen

Whether or not to leave open the stream after this writer is disposed of.

Methods

Dispose()

Declaration
public void Dispose()

Write(IRecording)

Declaration
public void Write(IRecording recording)
Parameters
Type Name Description
IRecording recording

Write(IRecording, TimeStorageTechnique)

Declaration
public void Write(IRecording recording, TimeStorageTechnique timeStorageTechnique)
Parameters
Type Name Description
IRecording recording
TimeStorageTechnique timeStorageTechnique

Write(IRecording, CompressionLevel)

Declaration
public void Write(IRecording recording, CompressionLevel compressionLevel)
Parameters
Type Name Description
IRecording recording
System.IO.Compression.CompressionLevel compressionLevel

Write(IRecording, CompressionLevel, TimeStorageTechnique)

Declaration
public void Write(IRecording recording, CompressionLevel compressionLevel, TimeStorageTechnique timeStorageTechnique)
Parameters
Type Name Description
IRecording recording
System.IO.Compression.CompressionLevel compressionLevel
TimeStorageTechnique timeStorageTechnique

Write(Stream)

Declaration
public void Write(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

Write(String)

Declaration
public void Write(string str)
Parameters
Type Name Description
System.String str

Write(String[])

Declaration
public void Write(string[] strArr)
Parameters
Type Name Description
System.String[] strArr

WriteAsUVarInt(Int32[])

Declaration
public void WriteAsUVarInt(int[] intArr)
Parameters
Type Name Description
System.Int32[] intArr

WriteAsUVarInt(Int64)

Declaration
public void WriteAsUVarInt(long val)
Parameters
Type Name Description
System.Int64 val

WriteWithoutSize(Byte[])

Declaration
public void WriteWithoutSize(byte[] data)
Parameters
Type Name Description
System.Byte[] data

Implements

System.IDisposable
Back to top Generated by DocFX