docs: public void setBuffer(final int width, final int height, final int format, final int type, final Buffer pixels)
      {
          NativeBitmapImage.updateFromBuffer(getNative(), 0, 0, width, height, format, type, pixels);
      }