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

Method offset

Fleece/Core/Pointer.hh:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 // Returns the byte offset
30 template <bool WIDE>
31 FLPURE uint32_t offset() const noexcept {
32 if (WIDE)
33 return (endian::dec32(wideBytes()) & ~0xC0000000) << 1;
34 else
35 return (endian::dec16(narrowBytes()) & ~0xC000) << 1;
36 }
37
38 template <bool WIDE>
39 inline const Value* deref() const noexcept {

Callers

nothing calls this directly

Calls 2

dec32Function · 0.85
dec16Function · 0.85

Tested by

no test coverage detected