Click or drag to resize
S101Writer Constructor (WriteAsyncCallback, Int32)
Initializes a new instance of the S101Writer class.

Namespace: Lawo.EmberPlusSharp.S101
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public S101Writer(
	WriteAsyncCallback writeAsync,
	int bufferSize
)

Parameters

writeAsync
Type: Lawo.IOWriteAsyncCallback
The method that is called when bytes need to be written asynchronously to the S101-encoded sink.
bufferSize
Type: SystemInt32
The size of the internal buffer in bytes.
Exceptions
ExceptionCondition
ArgumentNullExceptionwriteAsync equals null.
ArgumentOutOfRangeExceptionbufferSize is 0 or negative.
Remarks
This method accepts callbacks rather than the usual Stream object, so that it can also be used for network APIs for which .NET does not offer Stream subclasses, as is the case for System.Net.Sockets.Socket objects where Socket.SocketType does not equal SocketType.Stream.
See Also