MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / close

Method close

libminifi/src/io/ZlibStream.cpp:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void ZlibCompressStream::close() {
110 if (state_ == ZlibStreamState::INITIALIZED) {
111 if (write(nullptr, 0U) == 0) {
112 state_ = ZlibStreamState::FINISHED;
113 }
114 }
115}
116
117ZlibDecompressStream::ZlibDecompressStream(gsl::not_null<OutputStream*> output, ZlibCompressionFormat format)
118 : ZlibBaseStream(output) {

Calls

no outgoing calls

Tested by 5

CloseStreamMethod · 0.36
readYAMLFunction · 0.36
S3TestsFixtureMethod · 0.36
setCredentialFileMethod · 0.36