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

Method readBytesInSet

Fleece/Support/slice_stream.cc:197–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195
196
197 __hot slice slice_istream::readBytesInSet(slice set) noexcept {
198 const void *next = findByteNotIn(set);
199 if (!next)
200 next = end();
201 slice result(buf, next);
202 setStart(next);
203 return result;
204 }
205
206
207 __hot uint8_t slice_istream::readByte() noexcept {

Callers

nothing calls this directly

Calls 1

endFunction · 0.85

Tested by

no test coverage detected