class PipeSource
source · line 10public
public class PipeSource internal constructor(internal val file: File) : ByteSource, Closeable
- Supertype
ByteSource - Supertype
Closeable - Inherited
fun dispose(): Unit· Closeable
The owned read side of a native pipe.
function readInto
source · line 19public
public override fun readInto(buffer: NativeByteBuffer, count: Long): Long
- Overrides
readInto· ByteSource
Reads into the selected writable region, returning actual bytes and permitting short reads. Zero for a positive request denotes EOF.
parameter buffer
source · line 19public
buffer: NativeByteBuffer
parameter count
source · line 19public
count: Long
function close
source · line 24public
public override fun close(): Unit
- Overrides
close
Closes the owned native descriptor; subsequent I/O through this owner is invalid.
property isClosed
source · line 14public
public val isClosed: Boolean
get: public read-only
Whether this owned resource has been closed.
getter get
source · line 14public
get(): Boolean