MCPcopy Create free account
hub / github.com/couchbase/fleece / rewindTo

Method rewindTo

Fleece/Support/slice_stream.cc:222–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221
222 void slice_istream::rewindTo(const void *pos) {
223 // There's no way to validate this since we don't keep track of the original start of the
224 // stream (the original `buf` value.) We could add that as a data member; is it worth it?
225 assert_precondition(pos <= buf);
226 setStart(pos);
227 }
228
229
230#pragma mark NUMERIC INPUT:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected