Class BitStringArrayHandler
A special handler for arrays of bit strings.
Differs from the standard array handlers in that it returns arrays of bool for BIT(1) and arrays
of BitArray otherwise (just like the scalar BitStringHandler does).
Inheritance
BitStringArrayHandler
Assembly: Npgsql.dll
Syntax
public class BitStringArrayHandler : ArrayHandler<BitArray>
Remarks
Constructors
BitStringArrayHandler(PostgresType, BitStringHandler, ArrayNullabilityMode)
Declaration
public BitStringArrayHandler(PostgresType postgresType, BitStringHandler elementHandler, ArrayNullabilityMode arrayNullabilityMode)
Parameters
Methods
ReadAsObject(NpgsqlReadBuffer, Int32, Boolean, FieldDescription)
Declaration
public override async ValueTask<object> ReadAsObject(NpgsqlReadBuffer buf, int len, bool async, FieldDescription fieldDescription = null)
Parameters
Returns
Overrides
Npgsql.Internal.TypeHandlers.ArrayHandler<System.Collections.BitArray>.ReadAsObject(Npgsql.Internal.NpgsqlReadBuffer, System.Int32, System.Boolean, Npgsql.BackendMessages.FieldDescription)
ReadCustom<TRequestedArray>(NpgsqlReadBuffer, Int32, Boolean, FieldDescription)
Declaration
protected override async ValueTask<TRequestedArray> ReadCustom<TRequestedArray>(NpgsqlReadBuffer buf, int len, bool async, FieldDescription fieldDescription = null)
Parameters
Returns
Type Parameters
Name |
Description |
TRequestedArray |
|
Overrides