MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / IsCompressed

Method IsCompressed

lib/mdflib/mdflib/src/at4block.cpp:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304const std::string& At4Block::FileType() const { return file_type_; }
305bool At4Block::IsEmbedded() const { return flags_ & At4Flags::kEmbeddedData; }
306void At4Block::IsCompressed(bool compress) {
307 if (compress) {
308 flags_ |= At4Flags::kCompressedData;
309 } else {
310 flags_ &= ~At4Flags::kCompressedData;
311 }
312}
313bool At4Block::IsCompressed() const {
314 return flags_ & At4Flags::kCompressedData;
315}

Callers 5

TEST_FFunction · 0.80
TEST_FFunction · 0.80
EXPORTFEATUREFUNCFunction · 0.80
getMethod · 0.80
setMethod · 0.80

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64