Stream. On Peek(IntPtr, IntPtr) Method
Implemented by derived SKAbstractManagedStream types to copy the specified number of bytes into the specified buffer.
protected override IntPtr OnPeek (IntPtr buffer, IntPtr size);
The buffer to read into.
The number of bytes to read.
Returns the number of bytes actually peeked/copied.
The stream's cursor must be returned to the position before this method was called.