MCPcopy Create free account
hub / github.com/buggins/coolreader / getReadOnly

Method getReadOnly

crengine/src/lvstream.cpp:211–214  ·  view source on GitHub ↗

get pointer to read-only buffer, returns NULL if unavailable

Source from the content-addressed store, hash-verified

209 }
210 /// get pointer to read-only buffer, returns NULL if unavailable
211 virtual const lUInt8 * getReadOnly()
212 {
213 return m_writeonly ? NULL : m_buf;
214 }
215 /// get pointer to read-write buffer, returns NULL if unavailable
216 virtual lUInt8 * getReadWrite()
217 {

Callers 2

readIndexMethod · 0.45
MMapTestFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected