X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fman%2Frmr_bytes2payload.3.xfm;h=9deeef42d459f82d56d5cae944a0d5fe152068ff;hb=b7a4b52f73d51db6077d2c0b56be262c36f472f7;hp=74bc4fc33027973abc98ab084fb70c2600325493;hpb=392168d467d7949f391602f53f9fd62d2a64d12b;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/man/rmr_bytes2payload.3.xfm b/doc/src/man/rmr_bytes2payload.3.xfm index 74bc4fc..9deeef4 100644 --- a/doc/src/man/rmr_bytes2payload.3.xfm +++ b/doc/src/man/rmr_bytes2payload.3.xfm @@ -46,9 +46,9 @@ void rmr_bytes2payload( rmr_mbuf_t* mbuf, unsigned char* src, int len ) &h2(DESCRIPTION) This is a convenience function as some wrapper languages might not have the ability to directly copy into the payload buffer. -The bytes from &ital( src ) for the length given are copied to the payload. +The bytes from &ital(src) for the length given are copied to the payload. It is the caller's responsibility to ensure that the payload is large enough. -Upon successfully copy, the &cw( len ) field in the message buffer is updated to +Upon successfully copy, the &cw(len) field in the message buffer is updated to reflect the number of bytes copied. .sp There is little error checking, and no error reporting.