MCPcopy Create free account
hub / github.com/cinder/Cinder / cgDataConsumerPutBytes

Function cgDataConsumerPutBytes

src/cinder/ImageTargetFileQuartz.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89namespace { // anonymous namespace
90
91extern "C" size_t cgDataConsumerPutBytes( void *info, const void *buffer, size_t count )
92{
93 OStreamRef *ostream = reinterpret_cast<OStreamRef*>( info );
94 (*ostream)->writeData( buffer, count );
95 return count;
96}
97
98extern "C" void cgDataConsumerRelease( void *info )
99{

Callers

nothing calls this directly

Calls 1

writeDataMethod · 0.45

Tested by

no test coverage detected