This will automatically generate a chunk header and footer around the data
if necessary (e.g. you haven't manually sent a chunk header and the
message should be chunked).
@param padding Optionally add padding bytes to the body if possible
@param eom implicitly generate the EOM marker with this body frame
Write part of an egress message body.
This will automatically generate a chunk header and footer around the data if necessary (e.g. you haven't manually sent a chunk header and the message should be chunked).
@param padding Optionally add padding bytes to the body if possible @param eom implicitly generate the EOM marker with this body frame
@return number of bytes written