JFJochFrameSerializer: for the buffer return pointer + size, not vector reference (allows for more flexibility)
This commit is contained in:
@@ -15,15 +15,3 @@ void PrepareCBORImage(DataMessage& message,
|
||||
message.image.algorithm = experiment.GetCompressionAlgorithmEnum();
|
||||
message.image.channel = "default";
|
||||
}
|
||||
|
||||
|
||||
void PrepareDataMessageSpots(DataMessage& message,
|
||||
const std::vector<DiffractionSpot>& spots) {
|
||||
message.spots.clear();
|
||||
for (const auto & spot : spots)
|
||||
message.spots.push_back(spot);
|
||||
}
|
||||
|
||||
void ImagePusher::SendData(const std::vector<uint8_t> &serialized_image, int64_t image_number) {
|
||||
SendDataInternal(serialized_image, image_number);
|
||||
}
|
||||
Reference in New Issue
Block a user