R/zipComment.R

Defines functions getZipComment

Documented in getZipComment

getZipComment =
function(filename)
{
   if(is(filename, 'unzContentRef')) {
      h = filename
   } else {  
      h = as(filename, 'unzFileRef')   
      on.exit(unzClose(h))
   }

   .Call("R_unzGetGlobalComment", h)
}
omegahat/Rcompression documentation built on Nov. 29, 2023, 12:45 a.m.