Get Image raw data using C++ library

Hello. I’m trying to get a camera’s raw data using C++ library. I read the documentation but I can’t find a specific method that can be used to obtain an array of bytes for example. My code is simple: the callback function of the listen method of the sensor. I saw that you can actually use an ImageView but I don’t know if this helps or what to do with it. What I want to do to be more specific is to render that image in a web interface, so I need to send the image data as raw bytes. Any ideas will help. Thank you!

Camera->Listen([](auto Data) {
        auto Image = boost::static_pointer_cast<carla::sensor::data::Image>(Data);
        //do something with image data