AdsStream Constructor (.Byte., Int32, Int32)

Initializes a new instance of the AdsStream class, based on the specified region of a byte array.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public AdsStream(
    byte[] buffer,
    int offset,
    int length
)

VB

Public Sub New ( 
    buffer As Byte(),
    offset As Integer,
    length As Integer
)

Parameters

buffer

Type: .System.Byte.
The array of bytes from which to create this stream.

offset

Type: System.Int32
The offset in buffer at which the stream begins.

length

Type: System.Int32
The length of the stream in bytes.

Reference

AdsStream Class

AdsStream Overload

TwinCAT.Ads Namespace