Click or drag to resize

IResourceHandlerSkip Method

Version 98.1.210
Skip response data when requested by a Range header. Skip over and discard bytesToSkip bytes of response data. - If data is available immediately set bytesSkipped to the number of of bytes skipped and return true. - To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available. - To indicate failure set bytesSkipped to < 0 (e.g. -2 for ERR_FAILED) and return false. This method will be called in sequence but not from a dedicated thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax
bool Skip(
	long bytesToSkip,
	out long bytesSkipped,
	IResourceSkipCallback callback
)

Parameters

bytesToSkip
Type: SystemInt64
number of bytes to be skipped
bytesSkipped
Type: SystemInt64
If data is available immediately set bytesSkipped to the number of of bytes skipped and return true. To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available.
callback
Type: CefSharp.CallbackIResourceSkipCallback
To read the data at a later time set bytesSkipped to 0, return true and execute callback when the data is available.

Return Value

Type: Boolean
See summary
See Also