docs: public static void readPixels(DataInput in, float[] data, int numpixels) throws IOException {
          byte[] rgbe = new byte[4];
          float[] rgb = new float[3];
          int offset = 0;
  
          while (numpixels-- > 0) {
              in.readFully(rgbe);
  
              rgbe2float(rgb, rgbe, 0);
  
              data[offset++] = rgb[0];
              data[offset++] = rgb[1];
              data[offset++] = rgb[2];
          }
      }