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

Method Create

crengine/src/lvstream.cpp:2950–2960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2948 return LVERR_OK;
2949 }
2950 lverror_t Create( )
2951 {
2952 Close();
2953 m_bufsize = 4096;
2954 m_size = 0;
2955 m_pos = 0;
2956 m_pBuffer = (lUInt8*)malloc((int)m_bufsize);
2957 m_own_buffer = true;
2958 m_mode = LVOM_READWRITE;
2959 return LVERR_OK;
2960 }
2961 /// Creates memory stream as copy of another stream.
2962 lverror_t CreateCopy( LVStreamRef srcStream, lvopen_mode_t mode )
2963 {

Callers 1

LVCreateMemoryStreamFunction · 0.45

Calls 1

CloseFunction · 0.85

Tested by

no test coverage detected