[svn] commit: r427 - /branches/jinmei-dnsmessageapi/src/lib/dns/cpp/buffer.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jan 4 20:31:05 UTC 2010
Author: jinmei
Date: Mon Jan 4 20:31:05 2010
New Revision: 427
Log:
Added a small note about outputbuffer.getdata() in the detailed class
description.
Modified:
branches/jinmei-dnsmessageapi/src/lib/dns/cpp/buffer.h
Modified: branches/jinmei-dnsmessageapi/src/lib/dns/cpp/buffer.h
==============================================================================
--- branches/jinmei-dnsmessageapi/src/lib/dns/cpp/buffer.h (original)
+++ branches/jinmei-dnsmessageapi/src/lib/dns/cpp/buffer.h Mon Jan 4 20:31:05 2010
@@ -238,7 +238,8 @@
/// expensive data copy if we want to use this object with a legacy API such as
/// a BSD socket interface. And, indeed, this is one major purpose for this
/// object. Applications should use this method only under such a special
-/// circumstance.
+/// circumstance. It should also be noted that the memory region returned by
+/// \c getData() may be invalidated after a subsequent write operation.
///
/// An \c OutputBuffer class object automatically extends its memory region when
/// data is written beyond the end of the current buffer. However, it will
More information about the bind10-changes
mailing list