UnixInputStream
Superclasses: InputStream
, Object
Implemented Interfaces: FileDescriptorBased
, PollableInputStream
- Constructors:
UnixInputStream(**properties)
new(fd:int, close_fd:bool) -> Gio.InputStream
Constructors
- class UnixInputStream
- classmethod new(fd: int, close_fd: bool) InputStream
Creates a new
UnixInputStream
for the givenfd
.If
close_fd
isTrue
, the file descriptor will be closed when the stream is closed.- Parameters:
fd – a UNIX file descriptor
close_fd –
True
to close the file descriptor when done