Camel.FilterInputStream.new
Description: Reference for Camel.FilterInputStream.new

### Constructor

# Camel FilterInputStreamnew

since: 3.12

#### Declaration [src]

    GInputStream*
    camel_filter_input_stream_new (
      GInputStream* base_stream,
      CamelMimeFilter* filter
    )

#### Description [src]

Creates a new filtered input stream for the `base_stream`.

Available since: 3.12

#### Parameters

`base_stream`

  Type: `GInputStream`

  A `GInputStream`.

  The data is owned by the caller of the function.

`filter`

  Type: `CamelMimeFilter`

  A `CamelMimeFilter`.

  The data is owned by the caller of the function.

#### Return value

Type: `GInputStream`

A new `GInputStream`.

The caller of the function takes ownership of the data, and is responsible for freeing it.