@@ -209,17 +209,17 @@ class Message {
209
209
// / This method is deprecated, please use `setDataRef()` instead.
210
210
Message& setData (const bdlbb::Blob* data) BSLS_ANNOTATION_DEPRECATED;
211
211
212
+ // / Set the payload of this message to the specified `length` bytes
213
+ // / starting at the specified `data` address. The behavior is undefined
214
+ // / unless `data` is non-null and `length` is greater than zero. Note that
215
+ // / payload pointed to by `data` is *not* copied right away, and should not
216
+ // / be destroyed or modified until this message has been packed (see
217
+ // / `bmqa::MessageEventBuilder` component level documentation for correct
218
+ // / usage).
219
+ // /
220
+ // / This method is deprecated, please use `setDataRef()` instead.
212
221
Message& setData (const char * data,
213
222
size_t length) BSLS_ANNOTATION_DEPRECATED;
214
- // Set the payload of this message to the specified 'length' bytes
215
- // starting at the specified 'data' address. The behavior is undefined
216
- // unless 'data' is non-null and 'length' is greater than zero. Note
217
- // that payload pointed to by 'data' is *not* copied right away, and
218
- // should not be destroyed or modified until this message has been
219
- // packed (see 'bmqa::MessageEventBuilder' component level
220
- // documentation for correct usage).
221
- //
222
- // This method is deprecated, please use 'setDataRef()' instead.
223
223
224
224
// / Set the payload of this message to the blob pointed to by the
225
225
// / specified `data`. Behavior is undefined unless `data` is non-null
0 commit comments