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

Method OutboundPacketStream

source/src/osc/osc/OscOutboundPacketStream.cpp:155–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154
155OutboundPacketStream::OutboundPacketStream( char *buffer, std::size_t capacity )
156 : data_( buffer )
157 , end_( data_ + capacity )
158 , typeTagsCurrent_( end_ )
159 , messageCursor_( data_ )
160 , argumentCurrent_( data_ )
161 , elementSizePtr_( 0 )
162 , messageIsInProgress_( false )
163{
164 // sanity check integer types declared in OscTypes.h
165 // you'll need to fix OscTypes.h if any of these asserts fail
166 assert( sizeof(osc::int32) == 4 );
167 assert( sizeof(osc::uint32) == 4 );
168 assert( sizeof(osc::int64) == 8 );
169 assert( sizeof(osc::uint64) == 8 );
170}
171
172
173OutboundPacketStream::~OutboundPacketStream()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected