Gio.FileDescriptorBased

const Gio = imports.gi.Gio;

let file_descriptor_based = new Gio.FileDescriptorBased();
  

Gio.FileDescriptorBased is implemented by streams (implementations of Gio.InputStream or Gio.OutputStream) that are based on file descriptors.

Note that `<gio/gfiledescriptorbased.h>` belongs to the UNIX-specific GIO interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config file when using it.

Prerequisites

FileDescriptorBased requires GObject.Object

Known Implementations

FileDescriptorBased is implemented by UnixInputStream and UnixOutputStream