Attributes
implementationSource Codeshared formal Object? implementation

The platform-specific implementation object, if any.

positionSource Codeshared formal variable Integer position

The current position within this open file. The position is used to indicate where read/writes will start, and increases on every read/write operation that successfully completes.

resourceSource Codeshared formal Resource resource

Returns the Resource object that contains metadata about this open resource.

sizeSource Codeshared formal Integer size

The current size of this open file.

Inherited Attributes
Attributes inherited from: Object
Methods
truncateSource Codeshared formal void truncate(Integer size)

Truncates this open file to the given size. The new size has to be smaller than the current size.

Inherited Methods
Methods inherited from: Object
Methods inherited from: Closeable
Methods inherited from: ReadableFileDescriptor
Methods inherited from: WritableFileDescriptor