Search Results for

    Show / Hide Table of Contents

    Class PgBufferedConverter<T>

    Inheritance
    object
    PgConverter
    PgConverter<T>
    PgBufferedConverter<T>
    Inherited Members
    PgConverter<T>.IsDbNullValue(T, ref object?)
    PgConverter<T>.IsDbNull(T, ref object?)
    PgConverter.IsDbNullable
    PgConverter.CanConvert(DataFormat, out BufferRequirements)
    PgConverter.CanConvertBufferedDefault(DataFormat, out BufferRequirements)
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public abstract class PgBufferedConverter<T> : PgConverter<T>
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    PgBufferedConverter(bool)

    Declaration
    protected PgBufferedConverter(bool customDbNullPredicate = false)
    Parameters
    Type Name Description
    bool customDbNullPredicate

    Methods

    | Improve this Doc View Source

    GetSize(SizeContext, T, ref object?)

    Declaration
    public override Size GetSize(SizeContext context, T value, ref object? writeState)
    Parameters
    Type Name Description
    SizeContext context
    T value
    object? writeState
    Returns
    Type Description
    Size
    Overrides
    Npgsql.Internal.PgConverter<T>.GetSize(Npgsql.Internal.SizeContext, T, ref object?)
    | Improve this Doc View Source

    Read(PgReader)

    Declaration
    public override sealed T Read(PgReader reader)
    Parameters
    Type Name Description
    PgReader reader
    Returns
    Type Description
    T
    Overrides
    Npgsql.Internal.PgConverter<T>.Read(Npgsql.Internal.PgReader)
    | Improve this Doc View Source

    ReadAsync(PgReader, CancellationToken)

    Declaration
    public override sealed ValueTask<T> ReadAsync(PgReader reader, CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    PgReader reader
    CancellationToken cancellationToken
    Returns
    Type Description
    ValueTask<><T>
    Overrides
    Npgsql.Internal.PgConverter<T>.ReadAsync(Npgsql.Internal.PgReader, CancellationToken)
    | Improve this Doc View Source

    ReadCore(PgReader)

    Declaration
    protected abstract T ReadCore(PgReader reader)
    Parameters
    Type Name Description
    PgReader reader
    Returns
    Type Description
    T
    | Improve this Doc View Source

    Write(PgWriter, T)

    Declaration
    public override sealed void Write(PgWriter writer, T value)
    Parameters
    Type Name Description
    PgWriter writer
    T value
    Overrides
    Npgsql.Internal.PgConverter<T>.Write(Npgsql.Internal.PgWriter, T)
    | Improve this Doc View Source

    WriteAsync(PgWriter, T, CancellationToken)

    Declaration
    public override sealed ValueTask WriteAsync(PgWriter writer, T value, CancellationToken cancellationToken = null)
    Parameters
    Type Name Description
    PgWriter writer
    T value
    CancellationToken cancellationToken
    Returns
    Type Description
    ValueTask
    Overrides
    Npgsql.Internal.PgConverter<T>.WriteAsync(Npgsql.Internal.PgWriter, T, CancellationToken)
    | Improve this Doc View Source

    WriteCore(PgWriter, T)

    Declaration
    protected abstract void WriteCore(PgWriter writer, T value)
    Parameters
    Type Name Description
    PgWriter writer
    T value
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team