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

Extension class for RandomAccess. More...

Static Public Member Functions

static RandomAccess CopyInMemory (this RandomAccess randomAccess)
 Proxy for RandomAccessFactory.CopyInMemory.
 
static RandomAccess ExtractRegion (this RandomAccess src, uint offset)
 Proxy for RandomAccessFactory.ExtractRegion.
 
static RandomAccess ExtractRegion (this RandomAccess src, uint offset, uint size)
 Proxy for RandomAccessFactory.ExtractRegion.
 
static StreamAccess ToStream (this RandomAccess randomAccess)
 Proxy for StreamAccessFactory.FromRandomAccess.
 
static byte[] Read (this RandomAccess obj, uint offset, uint size)
 Read data from the accessor.
 

Detailed Description

Extension class for RandomAccess.

Member Function Documentation

◆ Read()

static byte[] IOLink.RandomAccessExtension.Read ( this RandomAccess  obj,
uint  offset,
uint  size 
)
inlinestatic

Read data from the accessor.

Parameters
objThe accessor to read data from
offsetThe position from which to begin reading data
sizeThe number of bytes to read
Returns
A byte array containing the read data

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