view OrthancFramework/Resources/ThirdParty/base64/base64.h @ 5529:acdb8d78bf99

Whatever the SQL error that happens while inserting an instance in DB, remove the attachments that have been added to avoid orphan files
author Alain Mazy <am@osimis.io>
date Tue, 06 Feb 2024 15:32:54 +0100
parents d25f4c0fa160
children
line wrap: on
line source

#include <string>

void base64_encode(std::string& result, const std::string& stringToEncode);
void base64_decode(std::string& result, const std::string& s);