編輯

共用方式為


SKAbstractManagedWStream.OnWrite(IntPtr, IntPtr) Method

Definition

Implemented by derived SKAbstractManagedWStream types to copy the specified number of bytes from the specified buffer into the underlying stream.

protected abstract bool OnWrite (IntPtr buffer, IntPtr size);

Parameters

buffer
IntPtr

The buffer to copy into the underlying stream.

size
IntPtr

The number of bytes to copy from the buffer.

Returns

Returns true on success, otherwise false.

Applies to