FilesGetBlocksCount(Int64, Int32) Method

Obtains the number of blocks based on the length and size of each block.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static int GetBlocksCount(
	long length,
	int blockLength
)

Parameters

length  Int64
Length to divide into blocks.
blockLength  Int32
Length of each block.

Return Value

Int32
Int32 with the number of blocks based on the length of a file and the size of each block.

See Also