FileHeaderBlockSearchForBlockSize Method

Looks in the contents of a file for the block size of the file.

Definition

Namespace: SnapDB.IO.FileStructure
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static int SearchForBlockSize(
	Stream stream
)

Parameters

stream  Stream
the stream to look

Return Value

Int32
the number of bytes in a block. Always a power of 2.

See Also