Reads an encoded integer from the elements stream. @return Integer value.
| 505 | // @return Integer value. |
| 506 | // |
| 507 | auto PipelineDecoder::EncodedElementsStream::ReadLong() -> long |
| 508 | { |
| 509 | // Encoded as four consecutive characters corresponding to the integer value. |
| 510 | std::wstringstream wss(ReadData(4)); |
| 511 | long intValue = 0; |
| 512 | wss >> intValue; |
| 513 | return intValue; |
| 514 | } |
| 515 | |
| 516 | // |
| 517 | // Reads an encoded string from the elements stream. |
no outgoing calls
no test coverage detected