libcryfs/src/cpp-utils/data/DataUtils.h

18 lines
463 B
C
Raw Normal View History

2015-12-14 17:18:53 +01:00
#pragma once
#ifndef MESSMER_CPPUTILS_DATA_DATAUTILS_H
#define MESSMER_CPPUTILS_DATA_DATAUTILS_H
#include "Data.h"
namespace cpputils {
namespace DataUtils {
//TODO Test
//Return a new data object with the given size and initialize as much as possible with the given input data.
//If the new data object is larger, then the remaining bytes will be zero filled.
2017-10-01 10:04:29 +02:00
Data resize(const Data& data, size_t newSize);
2015-12-14 17:18:53 +01:00
}
}
#endif