Class ConverterInputStream

All Implemented Interfaces:
PointerInterface

public class ConverterInputStream extends FilterInputStream
Converter input stream implements #GInputStream and allows
conversion of data of various types during reading.

As of GLib 2.34, #GConverterInputStream implements
#GPollableInputStream.

https://docs.gtk.org/gio/class.ConverterInputStream.html

  • Constructor Details

    • ConverterInputStream

      public ConverterInputStream(PointerContainer pointer)
    • ConverterInputStream

      public ConverterInputStream(@Nonnull InputStream base_stream, @Nonnull Converter converter)
      Creates a new converter input stream for the @base_stream.
      Parameters:
      base_stream - a #GInputStream
      converter - a #GConverter
  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getConverter

      public Converter getConverter()
      Gets the #GConverter that is used by @converter_stream.
      Returns:
      the converter of the converter input stream
    • asPollableInputStream

      public PollableInputStream asPollableInputStream()
      Implements interface PollableInputStream. Call this to get access to interface functions.
      Returns:
      PollableInputStream
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()