MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getDataUnsafe

Function getDataUnsafe

src/include/common/types/string_t.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 uint8_t* getDataUnsafe() {
35 return isShortString(len) ? prefix : reinterpret_cast<uint8_t*>(overflowPtr);
36 }
37
38 // These functions do *NOT* allocate/resize the overflow buffer, it only copies the content and
39 // set the length.

Callers

nothing calls this directly

Calls 1

isShortStringFunction · 0.85

Tested by

no test coverage detected