MCPcopy Create free account
hub / github.com/arq5x/bedtools2 / Rewind

Method Rewind

src/utils/bedFile/bedFile.cpp:145–150  ·  view source on GitHub ↗

Rewind the pointer back to the beginning of the file

Source from the content-addressed store, hash-verified

143
144// Rewind the pointer back to the beginning of the file
145void BedFile::Rewind(void) {
146 _bedStream->seekg(0, ios::beg);
147
148 _prev_start = -1;
149 _prev_chrom = "";
150}
151
152// Jump to a specific byte in the file
153void BedFile::Seek(unsigned long offset) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected