----------------------------------------------------------------------------
| 1706 | |
| 1707 | //---------------------------------------------------------------------------- |
| 1708 | unsigned char* vtkClientServerStream::ParseValue( |
| 1709 | int order, unsigned char* data, unsigned char* end, unsigned int wordSize) |
| 1710 | { |
| 1711 | // Byte-swap the value. |
| 1712 | if (data > end - wordSize) |
| 1713 | { |
| 1714 | /* ERROR */ |
| 1715 | return nullptr; |
| 1716 | } |
| 1717 | this->PerformByteSwap(order, data, 1, wordSize); |
| 1718 | |
| 1719 | // Return the position after the value. |
| 1720 | return data + wordSize; |
| 1721 | } |
| 1722 | |
| 1723 | //---------------------------------------------------------------------------- |
| 1724 | unsigned char* vtkClientServerStream::ParseArray( |
no test coverage detected