MCPcopy Create free account
hub / github.com/LUX-Core/lux / Skip

Method Skip

src/cryptopp/files.cpp:166–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166lword FileStore::Skip(lword skipMax)
167{
168 if (!m_stream)
169 return 0;
170
171 lword oldPos = m_stream->tellg();
172 std::istream::off_type offset;
173 if (!SafeConvert(skipMax, offset))
174 throw InvalidArgument("FileStore: maximum seek offset exceeded");
175 m_stream->seekg(offset, std::ios::cur);
176 return (lword)m_stream->tellg() - oldPos;
177}
178
179void FileSink::IsolatedInitialize(const NameValuePairs &parameters)
180{

Callers 6

fipstest.cppFile · 0.45
integer.cppFile · 0.45
ChannelPut2Method · 0.45
DecodeBodyMethod · 0.45
DoFlushMethod · 0.45

Calls 1

SafeConvertFunction · 0.85

Tested by

no test coverage detected