| 153 | |
| 154 | |
| 155 | OutboundPacketStream::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 | |
| 173 | OutboundPacketStream::~OutboundPacketStream() |
nothing calls this directly
no outgoing calls
no test coverage detected