# Class PgStreamingConverter<T>

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public abstract class PgStreamingConverter<T> : PgConverter<T>

#### Type Parameters

`T`

Inheritance
  object
  PgConverter
  PgConverter<T>
  PgStreamingConverter<T>

Inherited Members
  PgConverter<T>.IsDbNullValue(T, ref object)
  PgConverter<T>.IsDbNull(T, ref object)
  PgConverter<T>.Read(PgReader)
  PgConverter<T>.ReadAsync(PgReader, CancellationToken)
  PgConverter<T>.GetSize(SizeContext, T, ref object)
  PgConverter<T>.Write(PgWriter, T)
  PgConverter<T>.WriteAsync(PgWriter, T, CancellationToken)
  PgConverter.IsDbNullable
  PgConverter.CanConvertBufferedDefault(DataFormat, out BufferRequirements)
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Constructors

### PgStreamingConverter(bool)

    protected PgStreamingConverter(bool customDbNullPredicate = false)

#### Parameters

`customDbNullPredicate` bool

## Methods

### CanConvert(DataFormat, out BufferRequirements)

Whether this converter can handle the given format and with which buffer requirements.

    public override bool CanConvert(DataFormat format, out BufferRequirements bufferRequirements)

#### Parameters

`format` DataFormat

  The data format.

`bufferRequirements` BufferRequirements

  Returns the buffer requirements.

#### Returns

bool

  Returns true if the given data format is supported.

#### Remarks

The buffer requirements should not cover database NULL reads or writes, these are handled by the caller.