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