C# Class Npgsql.WriteBuffer

Afficher le fichier Open project: npgsql/npgsql Class Usage Examples

Private Properties

Свойство Type Description
Clear void
DirectWrite void
DirectWriteAsyncWithSyncContext Task
Flush void
FlushAsyncWithSyncContext Task
ResetTotalBytesFlushed void
WriteBuffer System
WriteChars void
WriteString void
WriteStringChunked void
WriteUInt32 void

Méthodes publiques

Méthode Description
WriteByte ( byte b ) : void
WriteBytes ( byte buf, int offset, int count ) : void
WriteBytesNullTerminated ( byte buf ) : void
WriteDouble ( double d ) : void
WriteInt16 ( int i ) : void
WriteInt32 ( int i ) : void
WriteInt64 ( long i ) : void
WriteSingle ( float f ) : void
WriteUInt16 ( int i ) : void

Private Methods

Méthode Description
Clear ( ) : void
DirectWrite ( byte buffer, int offset, int count ) : void
DirectWriteAsyncWithSyncContext ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task This is a hack, see explanation in NpgsqlCommand.Send.
Flush ( ) : void
FlushAsyncWithSyncContext ( CancellationToken cancellationToken ) : Task This is a hack, see explanation in NpgsqlCommand.Send.
ResetTotalBytesFlushed ( ) : void
WriteBuffer ( [ connector, Stream stream, int size, Encoding textEncoding ) : System
WriteChars ( char chars, int len ) : void
WriteString ( string s, int len ) : void
WriteStringChunked ( char chars, int charIndex, int charCount, bool flush, int &charsUsed, bool &completed ) : void
WriteUInt32 ( uint i ) : void

Method Details

WriteByte() public méthode

public WriteByte ( byte b ) : void
b byte
Résultat void

WriteBytes() public méthode

public WriteBytes ( byte buf, int offset, int count ) : void
buf byte
offset int
count int
Résultat void

WriteBytesNullTerminated() public méthode

public WriteBytesNullTerminated ( byte buf ) : void
buf byte
Résultat void

WriteDouble() public méthode

public WriteDouble ( double d ) : void
d double
Résultat void

WriteInt16() public méthode

public WriteInt16 ( int i ) : void
i int
Résultat void

WriteInt32() public méthode

public WriteInt32 ( int i ) : void
i int
Résultat void

WriteInt64() public méthode

public WriteInt64 ( long i ) : void
i long
Résultat void

WriteSingle() public méthode

public WriteSingle ( float f ) : void
f float
Résultat void

WriteUInt16() public méthode

public WriteUInt16 ( int i ) : void
i int
Résultat void