Bearbeiten

Freigeben über


SKStream.Read Method

Definition

Overloads

Read(Byte[], Int32)

Reads a copy of the specified number of bytes into the provided buffer.

Read(IntPtr, Int32)

Reads a copy of the specified number of bytes into the provided buffer.

Read(Byte[], Int32)

Reads a copy of the specified number of bytes into the provided buffer.

public int Read (byte[] buffer, int size);

Parameters

buffer
Byte[]

The buffer to read into.

size
Int32

The number of bytes to read.

Returns

Returns the number of bytes actually read.

Applies to

Read(IntPtr, Int32)

Reads a copy of the specified number of bytes into the provided buffer.

public int Read (IntPtr buffer, int size);

Parameters

buffer
IntPtr

The buffer to read into.

size
Int32

The number of bytes to read.

Returns

Returns the number of bytes actually read.

Applies to