MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / Size

Method Size

source/src/osc/osc/OscOutboundPacketStream.cpp:283–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283std::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
296const char *OutboundPacketStream::Data() const

Callers

nothing calls this directly

Calls 1

RoundUp4Function · 0.70

Tested by

no test coverage detected