MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / IoBuffer

Class IoBuffer

libcppcryptfs/file/iobufferpool.h:41–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39using namespace std;
40
41class IoBuffer {
42public:
43
44 unsigned char *m_pBuf;
45 unsigned char* m_pIvBuf;
46 bool m_bIsFromPool;
47 vector<unsigned char> m_storage;
48
49 // disallow copying
50 IoBuffer(IoBuffer const&) = delete;
51 void operator=(IoBuffer const&) = delete;
52
53 IoBuffer(bool fromPool, size_t bufferSize, size_t ivbuffer_size);
54
55 void reallocate(size_t bufferSize, size_t ivbuffer_size);
56 ~IoBuffer() = default;
57
58};
59
60class IoBufferPool {
61private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected