C# Class Npgsql.WriteBuffer

显示文件 Open project: npgsql/npgsql Class Usage Examples

Private Properties

Property Type Description
Clear void
DirectWrite void
DirectWriteAsyncWithSyncContext Task
Flush void
FlushAsyncWithSyncContext Task
ResetTotalBytesFlushed void
WriteBuffer System
WriteChars void
WriteString void
WriteStringChunked void
WriteUInt32 void

Public Methods

Method 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

Method 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 method

public WriteByte ( byte b ) : void
b byte
return void

WriteBytes() public method

public WriteBytes ( byte buf, int offset, int count ) : void
buf byte
offset int
count int
return void

WriteBytesNullTerminated() public method

public WriteBytesNullTerminated ( byte buf ) : void
buf byte
return void

WriteDouble() public method

public WriteDouble ( double d ) : void
d double
return void

WriteInt16() public method

public WriteInt16 ( int i ) : void
i int
return void

WriteInt32() public method

public WriteInt32 ( int i ) : void
i int
return void

WriteInt64() public method

public WriteInt64 ( long i ) : void
i long
return void

WriteSingle() public method

public WriteSingle ( float f ) : void
f float
return void

WriteUInt16() public method

public WriteUInt16 ( int i ) : void
i int
return void