mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 13:20:25 +00:00
fa7b012da9
This commit adds `Message::AppendBytesFromMessage()` which appends bytes to a message read from another or potentially the same message at a given offset. The bytes are read and copied directly (chunk by chunk) without requiring an intermediate buffer. This commit also updates `test_message` unit test to cover the behavior of the newly added method (for both cases where the source and the destination messages are the same or different).