Class FdInputStream

java.lang.Object
java.io.InputStream
ghidra.pty.unix.FdInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class FdInputStream extends InputStream
An input stream that wraps a native POSIX file descriptor

WARNING: This class makes use of jnr-ffi to invoke native functions. An invalid file descriptor is generally detected, but an incorrect, but valid file descriptor may cause undefined behavior.