v1.0.0-rc.36

This commit is contained in:
2025-05-05 19:32:22 +02:00
parent 759243d1bf
commit 040cf08386
333 changed files with 22724 additions and 15251 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ void CBORFilePusher::StartDataCollection(StartMessage &message) {
img_number = 0;
size_t approx_size = 1024*1024;
for (const auto &x : message.pixel_mask)
approx_size += x.size;
for (const auto &[key, value] : message.pixel_mask)
approx_size += value.size() * sizeof(uint32_t);
std::vector<uint8_t> serialization_buffer(approx_size);
CBORStream2Serializer serializer(serialization_buffer.data(), serialization_buffer.size());