| 60 | } |
| 61 | |
| 62 | size_t Decode::Stream::location(){ |
| 63 | auto loc = istream.tellg(); |
| 64 | if(loc == -1){ |
| 65 | istream.seekg(0, std::ios_base::end); |
| 66 | loc = istream.tellg(); |
| 67 | istream.seekg(-1); |
| 68 | } |
| 69 | return loc; |
| 70 | } |
| 71 | |
| 72 | Stream& Decode::operator>>(Stream& stream, Decode::Section&& section){ |
| 73 | byte_t id_val = stream.peek(); |
no outgoing calls
no test coverage detected