| IOLink C# 1.11.0

Loading...
Searching...
No Matches
Interoperability

To ease the use of IOLink in .NET environment, a bridge has been created between [System.IO.Stream][dotnet_stream] object and equivalent IOLink `StreamAccess` object.

Bridge is available in both ways:

From `IOLink.StreamAccess` object to `System.IO.Stream`:

System.IO.Stream stream = StreamAccessFactory.ToNetStream(access);

And from `System.IO.Stream` to `IOLink StreamAccess` object:

StreamAccess access = StreamAccessFactory.FromNetStream(stream);

There is no memory duplication when using this bridge.