Esempio n. 1
0
 /**
  * Gets the GID as a long. GID is typically a 32 bit unsigned value on most UNIX systems, so we
  * return a long to avoid integer overflow into the negatives in case values above and including
  * 2^31 are being used.
  *
  * @return the GID value.
  */
 public long getGID() {
   return ZipUtil.bigToLong(gid);
 }
Esempio n. 2
0
 /**
  * Gets the UID as a long. UID is typically a 32 bit unsigned value on most UNIX systems, so we
  * return a long to avoid integer overflow into the negatives in case values above and including
  * 2^31 are being used.
  *
  * @return the UID value.
  */
 public long getUID() {
   return ZipUtil.bigToLong(uid);
 }