It shouldn't be hard to add support along the lines of the V3.0 `h5py` API documented [here](https://docs.h5py.org/en/stable/special.html#storing-other-types-as-opaque-data)