Npgsql Api Docs

BitString Constructor (Int32)

Creates a bitstring from an integer value. The string will be the shortest required to contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on).

[Visual Basic]
Overloads Public Sub New( _
   ByVal integer As Integer _
)
[C#]
public BitString(
   int integer
);

Parameters

integer
The integer.

See Also

BitString Class | NpgsqlTypes Namespace | BitString Constructor Overload List