S101Reader Constructor (ReadAsyncCallback, Int32) | |
Initializes a new instance of the
S101Reader class.
Namespace: Lawo.EmberPlusSharp.S101Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax public S101Reader(
ReadAsyncCallback readAsync,
int bufferSize
)
Parameters
- readAsync
- Type: Lawo.IOReadAsyncCallback
The method that is called when bytes need to be read asynchronously from the
S101-encoded source. - bufferSize
- Type: SystemInt32
The size of the internal buffer in bytes.
Exceptions Remarks This method accepts a callback 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