Partager via


FileStore.BlockSize Property

Definition

Returns the number of bytes per block in this file store.

public virtual long BlockSize { [Android.Runtime.Register("getBlockSize", "()J", "GetGetBlockSizeHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getBlockSize", "()J", "GetGetBlockSizeHandler", ApiSince=33)>]
member this.BlockSize : int64

Property Value

a positive value representing the block size of this file store, in bytes

Attributes

Remarks

Returns the number of bytes per block in this file store.

File storage is typically organized into discrete sequences of bytes called blocks. A block is the smallest storage unit of a file store. Every read and write operation is performed on a multiple of blocks.

Added in 10.

Java documentation for java.nio.file.FileStore.getBlockSize().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to