コード例 #1
0
 internal void CopyTo(NpgsqlReadBuffer other)
 {
     Debug.Assert(other.Size - other._filledBytes >= ReadBytesLeft);
     Array.Copy(Buffer, ReadPosition, other.Buffer, other._filledBytes, ReadBytesLeft);
     other._filledBytes += ReadBytesLeft;
 }
コード例 #2
0
 internal NpgsqlNotificationEventArgs(NpgsqlReadBuffer buf)
 {
     PID                   = buf.ReadInt32();
     Condition             = buf.ReadNullTerminatedString();
     AdditionalInformation = buf.ReadNullTerminatedString();
 }