Schedule specified garbage to be sent to the transport. */
| 1171 | |
| 1172 | /** Schedule specified garbage to be sent to the transport. */ |
| 1173 | void SendGarbage(std::span<const uint8_t> garbage) |
| 1174 | { |
| 1175 | // Remember the specified garbage (so we can use it as AAD). |
| 1176 | m_sent_garbage.assign(garbage.begin(), garbage.end()); |
| 1177 | // Schedule it for sending. |
| 1178 | Send(m_sent_garbage); |
| 1179 | } |
| 1180 | |
| 1181 | /** Schedule garbage (of specified length) to be sent to the transport. */ |
| 1182 | void SendGarbage(size_t garbage_len) |
no test coverage detected