Package-level declarations

Types

Link copied to clipboard
class TruncateFd(val fd: FileDescriptor, val length: Long)

Truncate or extend a file fd to a specified length. If the file was larger than this size, the extra data will be discarded. If the file was smaller than this size, it will be extended as if by writing bytes with the value zero.