46 auto shape = ndarray::makeVector(nbytes);
47 auto strides = ndarray::makeVector(1);
50 ndarray::Array<std::uint8_t const, 1, 1> localArray = ndarray::external(byteCArr, shape, strides);
51 return ndarray::copy(localArray);
56 char const* charCArr =
reinterpret_cast<char const*
>(
bytes.getData());
A base class for image defects.
table::Key< table::Array< std::uint8_t > > bytes