Reading data

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public Shared Function ReadData( _ 
ByVal s As Stream, _ 
ByVal data_to_read As Byte(), _ 
ByVal offset As Integer, _ 
ByVal size As Integer, _ 
ByVal throw_exception As Boolean
) As Boolean
This language is not supported or no code example is available.
public static bool ReadData( 
Stream s
byte[] data_to_read
int offset
int size
bool throw_exception 
)
This language is not supported or no code example is available.
public:  
static bool ReadData( 
Stream^ s
array< Byte >^ data_to_read
int offset
int size
bool throw_exception 
)
This language is not supported or no code example is available.
public static function ReadData( 
s : Stream
data_to_read : byte[], 
offset : int
size : int
throw_exception : boolean 
) : boolean;
This language is not supported or no code example is available.

Parameters

s
Type: Stream

<default>

data_to_read
Type: byte[]

<default>

offset
Type: int

<default>

size
Type: int

<default>

throw_exception
Type: bool

<default>

Return Value

Type: bool

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1