MCPcopy Create free account
hub / github.com/davisking/dlib / seekpos

Method seekpos

dlib/vectorstream/vectorstream.h:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 pos_type seekpos(pos_type pos, std::ios_base::openmode mode = std::ios_base::in | std::ios_base::out)
49 {
50 return seekoff(pos - pos_type(off_type(0)), std::ios_base::beg, mode);
51 }
52
53 pos_type seekoff(off_type off, std::ios_base::seekdir dir,
54 std::ios_base::openmode mode = std::ios_base::in | std::ios_base::out )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected