MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / data

Method data

Bcore/src/main/cpp/base/stringpiece.h:63–63  ·  view source on GitHub ↗

data() may return a pointer to a buffer with embedded NULs, and the returned buffer may or may not be null terminated. Therefore it is typically a mistake to pass data() to a routine that expects a NUL terminated string.

Source from the content-addressed store, hash-verified

61 // typically a mistake to pass data() to a routine that expects a NUL
62 // terminated string.
63 const char* data() const { return ptr_; }
64 size_type size() const { return length_; }
65 size_type length() const { return length_; }
66 bool empty() const { return length_ == 0; }

Callers 15

MapCentralDirectoryFunction · 0.45
FindEntryFunction · 0.45
InflateFunction · 0.45
CopyEntryToWriterFunction · 0.45
PrepareDeflateMethod · 0.45
CompressBytesMethod · 0.45
FlushCompressedBytesMethod · 0.45
FinishMethod · 0.45
ReadMethod · 0.45
CreateTypeListMethod · 0.45
SplitFunction · 0.45

Calls

no outgoing calls

Tested by 1

BuildMethod · 0.36