| 281 | |
| 282 | |
| 283 | std::size_t OutboundPacketStream::Size() const |
| 284 | { |
| 285 | std::size_t result = argumentCurrent_ - data_; |
| 286 | if( IsMessageInProgress() ){ |
| 287 | // account for the length of the type tag string. the total type tag |
| 288 | // includes an initial comma, plus at least one terminating \0 |
| 289 | result += RoundUp4(static_cast<size_t>(end_ - typeTagsCurrent_) + 2 ); |
| 290 | } |
| 291 | |
| 292 | return result; |
| 293 | } |
| 294 | |
| 295 | |
| 296 | const char *OutboundPacketStream::Data() const |
nothing calls this directly
no test coverage detected