Class ConverterOutputStream

All Implemented Interfaces:
PointerInterface

public class ConverterOutputStream extends FilterOutputStream
Converter output stream implements #GOutputStream and allows
conversion of data of various types during reading.

As of GLib 2.34, #GConverterOutputStream implements
#GPollableOutputStream.

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

  • Constructor Details

    • ConverterOutputStream

      public ConverterOutputStream(PointerContainer pointer)
    • ConverterOutputStream

      public ConverterOutputStream(@Nonnull OutputStream base_stream, @Nonnull Converter converter)
      Creates a new converter output stream for the @base_stream.
      Parameters:
      base_stream - a #GOutputStream
      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 output stream
    • asPollableOutputStream

      public PollableOutputStream asPollableOutputStream()
      Implements interface PollableOutputStream. Call this to get access to interface functions.
      Returns:
      PollableOutputStream
    • 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()