MCPcopy Create free account
hub / github.com/SFML/SFML / skip

Function skip

src/SFML/Graphics/Image.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void skip(void* user, int size)
75{
76 auto& stream = *static_cast<sf::InputStream*>(user);
77 if (!stream.seek(stream.tell().value() + static_cast<std::size_t>(size)).has_value())
78 sf::err() << "Failed to seek image loader input stream" << std::endl;
79}
80
81int eof(void* user)
82{

Callers

nothing calls this directly

Calls 2

seekMethod · 0.45
tellMethod · 0.45

Tested by

no test coverage detected