Click or drag to resize

OnDemandLocalFileSystem.GetHydrationRequiredCount Method

Computes the hydration required count of bytes.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
protected virtual long GetHydrationRequiredCount(
	OnDemandCallbackContext callbackContext,
	long requiredOffset,
	long requiredCount
)

Parameters

callbackContext
Type: callback.ShellBoost.Core.Synchronization.OnDemandCallbackContext
The callback context.
requiredOffset
Type: System.Int64
The required file offset.
requiredCount
Type: System.Int64
The required count of bytes to read. This is the original value passed by the Windows file system, but may be less than the file size.

Return Value

Type: Int64
The final required count of bytes to read.
Exceptions
ExceptionCondition
ArgumentNullExceptioncallbackContext is null.
See Also