Share via


Streamable.ToBinaryStream Method

Definition

Overloads

ToBinaryStream<TKey,TPayload>(IStreamable<TKey,TPayload>, Stream, Boolean)

Serialize streamable into a binary stream

ToBinaryStream<TKey,TPayload>(IStreamable<TKey,TPayload>, String)

Serialize streamble into a binary file

ToBinaryStream<TKey,TPayload>(IStreamable<TKey,TPayload>, Stream, Boolean)

Serialize streamable into a binary stream

public static void ToBinaryStream<TKey,TPayload> (this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> input, System.IO.Stream binaryStream, bool writePropertiesToStream = false);
static member ToBinaryStream : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * System.IO.Stream * bool -> unit
<Extension()>
Public Sub ToBinaryStream(Of TKey, TPayload) (input As IStreamable(Of TKey, TPayload), binaryStream As Stream, Optional writePropertiesToStream As Boolean = false)

Type Parameters

TKey
TPayload

Parameters

binaryStream
Stream
writePropertiesToStream
Boolean

Applies to

ToBinaryStream<TKey,TPayload>(IStreamable<TKey,TPayload>, String)

Serialize streamble into a binary file

public static void ToBinaryStream<TKey,TPayload> (this Microsoft.StreamProcessing.IStreamable<TKey,TPayload> input, string fileName);
static member ToBinaryStream : Microsoft.StreamProcessing.IStreamable<'Key, 'Payload> * string -> unit
<Extension()>
Public Sub ToBinaryStream(Of TKey, TPayload) (input As IStreamable(Of TKey, TPayload), fileName As String)

Type Parameters

TKey
TPayload

Parameters

fileName
String

Applies to