google-ipmi-sys: Convert input to use std::span<const uint8_t>

Change-Id: I533de34c04e3d2577cb9076add441153b2994c30
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/flash_size.hpp b/flash_size.hpp
index 9ae1c5f..34c5549 100644
--- a/flash_size.hpp
+++ b/flash_size.hpp
@@ -19,7 +19,7 @@
 #include <ipmid/api.h>
 
 #include <ipmid/api-types.hpp>
-#include <vector>
+#include <span>
 
 namespace google
 {
@@ -31,8 +31,7 @@
     uint32_t flashSize;
 } __attribute__((packed));
 
-Resp getFlashSize(const std::vector<std::uint8_t>& data,
-                  HandlerInterface* handler);
+Resp getFlashSize(std::span<const uint8_t> data, HandlerInterface* handler);
 
 } // namespace ipmi
 } // namespace google