FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTar_ReadFile ( kTar  tar,
const kChar filePath,
k64u  fileSize 
)

Convenience method to read a file from an archive and save it to a file system path.

This method reads a file from an archive. It can be used instead of kTar streaming operations after calling kTar_BeginRead (or kTar_Find) to save a tar file item directly to a local file.

Parameters
tarkTar object.
filePathRelative path of the item in the kTar object.
fileSizeSize of the item.
Returns
Operation status.