IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.RandomAccessProvider Class Reference

Utility class to check and convert a DataAccess into a RandomAccess. More...

Inheritance diagram for IOLink.RandomAccessProvider:

Public Member Functions

 RandomAccessProvider (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 

Static Public Member Functions

static global::System.Runtime.InteropServices.HandleRef getCPtr (RandomAccessProvider obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (RandomAccessProvider obj)
 
static bool IsRandomAccess (DataAccess randomAccess)
 Checks if DataAccess supports RandomAccess interface.
 
static RandomAccess ToRandom (DataAccess accessor)
 Return the RandomAccess interface if the accessor supports it.
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Utility class to check and convert a DataAccess into a RandomAccess.

Member Function Documentation

◆ ToRandom()

static RandomAccess IOLink.RandomAccessProvider.ToRandom ( DataAccess  accessor)
inlinestatic

Return the RandomAccess interface if the accessor supports it.

If it does not support this interface, returns null.


The documentation for this class was generated from the following file: