Code example for FileChannel

Methods: positiontruncateclose