# Class PgConverter

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    [Experimental("NPG9001")]
    public abstract class PgConverter

Inheritance
  object
  PgConverter

Derived
  PgConverter<T>

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Properties

### IsDbNullable

    public bool IsDbNullable { get; }

#### Property Value

bool

## Methods

### CanConvert(DataFormat, out BufferRequirements)

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

    public abstract 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.

### CanConvertBufferedDefault(DataFormat, out BufferRequirements)

    protected bool CanConvertBufferedDefault(DataFormat format, out BufferRequirements bufferRequirements)

#### Parameters

`format` DataFormat
`bufferRequirements` BufferRequirements

#### Returns

bool