SKStream.Peek(IntPtr, Int32) Method

Definition

Attempt to peek at size bytes.

public int Peek (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 peeked/copied.

Applies to