MCPcopy Create free account
hub / github.com/c3d/tao3D / Put

Method Put

libcryptopp/cryptopp/queue.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 inline size_t Put(const byte *begin, size_t length)
43 {
44 size_t l = STDMIN(length, MaxSize()-m_tail);
45 if (buf+m_tail != begin)
46 memcpy(buf+m_tail, begin, l);
47 m_tail += l;
48 return l;
49 }
50
51 inline size_t Peek(byte &outByte) const
52 {

Callers 2

Put2Method · 0.45
UngetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected