MCPcopy Create free account
hub / github.com/DCMTK/dcmtk / CopyFromBuffer

Method CopyFromBuffer

dcmdata/include/dcbuf.h:150–154  ·  view source on GitHub ↗

Copy content of the main buffer into the parameter

Source from the content-addressed store, hash-verified

148
149 // Copy content of the main buffer into the parameter
150 inline void CopyFromBuffer(void * buffer)
151 {
152 memcpy(buffer, fBuffers[MAIN]->fBuffer, fBuffers[MAIN]->fFilled);
153 fBuffers[MAIN]->fFilled = 0;
154 }
155
156 // Returns the main write buffer filled length
157 inline Uint32 GetFilled(void) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected