Click or drag to resize

IResourceHandlerSkip Method

Version 101.0.180
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: 101.0.180.0 (101.0.180.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