Read Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Reads data from this stream and stores it in the specified array.
Namespace: Microsoft.SPOT.Net.Security
Assembly: System.Net.Security (in System.Net.Security.dll)
Syntax
'Declaration
Public Overrides Function Read ( _
buffer As Byte(), _
offset As Integer, _
size As Integer _
) As Integer
public override int Read(
byte[] buffer,
int offset,
int size
)
public:
virtual int Read(
array<unsigned char>^ buffer,
int offset,
int size
) override
abstract Read :
buffer:byte[] *
offset:int *
size:int -> int
override Read :
buffer:byte[] *
offset:int *
size:int -> int
public override function Read(
buffer : byte[],
offset : int,
size : int
) : int
Parameters
- buffer
Type: array<System. . :: . .Byte> [] () [] []
An array that receives the bytes read from this stream.
- offset
Type: System. . :: . .Int32
An integer that contains the zero-based location in buffer at which to begin storing the data read from this stream.
- size
Type: System. . :: . .Int32
The maximum number of bytes to read from this stream.
Return Value
Type: System. . :: . .Int32
The number of bytes read. When there is no more data to be read, returns 0.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.