40 #ifndef LIBDCP_ARRAY_DATA_H
41 #define LIBDCP_ARRAY_DATA_H
45 #include <boost/shared_array.hpp>
46 #include <boost/filesystem.hpp>
70 explicit ArrayData (boost::filesystem::path file);
74 uint8_t
const * data ()
const override {
78 uint8_t * data ()
override {
85 int size ()
const override {
95 boost::shared_array<uint8_t> _data;
Class to hold an arbitrary block of data.
int size() const override
ArrayData(boost::shared_array< uint8_t > data, int size)
Namespace for everything in libdcp.