| 402 | } |
| 403 | |
| 404 | void TMemoryBuffer::wroteBytes(uint32_t len) { |
| 405 | uint32_t avail = available_write(); |
| 406 | if (len > avail) { |
| 407 | throw TTransportException("Client wrote more bytes than size of buffer."); |
| 408 | } |
| 409 | wBase_ += len; |
| 410 | } |
| 411 | |
| 412 | const uint8_t* TMemoryBuffer::borrowSlow(uint8_t* buf, uint32_t* len) { |
| 413 | (void)buf; |
no test coverage detected