summaryrefslogtreecommitdiff
path: root/src/array_data.cc
AgeCommit message (Collapse)Author
2023-04-16Use a shared_ptr<vector> for ArrayData rather than a shared_array.Carl Hetherington
This is simpler and allows us to remove the hack of allocating some "maximum" buffer for incoming JPEG2000 data. It does mean that the buffer is zero-initialized before being written to, but hopefully that doesn't matter too much.
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2021-01-24Tidying.Carl Hetherington
2021-01-23Small bits of pre-release tidying.Carl Hetherington
2020-11-02Add Data class and change API to a raw pointer.Carl Hetherington
2020-11-02Rename Data -> ArrayData.Carl Hetherington