Move getPrintableValue api to utils

This commit moves getPrintableValue api from VpdTool
class to utility file, as this is a common api needs to
be used by other class members as well.

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: Iac8a645156d48c9f44308f96bf1f951b663a6669
diff --git a/ibm_vpd_utils.hpp b/ibm_vpd_utils.hpp
index f067b9b..209d070 100644
--- a/ibm_vpd_utils.hpp
+++ b/ibm_vpd_utils.hpp
@@ -241,5 +241,17 @@
             driverType + "/" + bindOrUnbind);
 }
 
+/**
+ * @brief Get Printable Value
+ *
+ * Checks if the vector value has non printable characters.
+ * Returns hex value if non printable char is found else
+ * returns ascii value.
+ *
+ * @param[in] vector - Reference of the Binary vector
+ * @return printable value - either in hex or in ascii.
+ */
+string getPrintableValue(const vector<unsigned char>& vec);
+
 } // namespace vpd
 } // namespace openpower
\ No newline at end of file