Allocates a buffer by aggregating the payloads of all the frames in a message.
Allocates a buffer by aggregating the payloads of all the frames in a message.Use bpc_buffer_destroy to deallocate the buffer returned, but only if it has not been used as a parameter to bpc_send.
This routine makes a copy of the payloads, and does not affect either the original frames nor the receive window size.