Skip to content

Demo: File Channel Operations

Demo What it shows
file-ops/ Seven calls on one file, and after each the file pointer and the size: which call moves which.
truncate/ A file of 20 GiB made without writing anything: the size of a file against the space it takes.