]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/loclass/fileutils.h
CHG: minor modification to "hf mf csetblk" The usuage of UID array is not needed.
[proxmark3-svn] / client / loclass / fileutils.h
index 623190a61e3a1e0f725fcefdb320826419f84277..cfe65187e1a113c73de4d91321ad90e43c05d74e 100644 (file)
  * @return 0 for ok, 1 for failz
  */
 int saveFile(const char *preferredName, const char *suffix, const void* data, size_t datalen);
+/**
+ * @brief Utility function to save load binary data from a a file. This method takes a filename,
+ * Should only be used for fixed-size binary files
+ * @param fileName the name of the file
+ * @param data a buffer to place data in
+ * @param datalen the length of the data/data.
+ * @return
+ */
 
+int loadFile(const char *fileName, void* data, size_t datalen);
 
 /**
  * Utility function to print to console. This is used consistently within the library instead
Impressum, Datenschutz