You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The historical limit of a file in a tar archive is 8GB. Light Untar for iOS is limited to files no greater than this. Light Untar also limits NSData representations to ~4GB.
For transparency sake, and per wikipedia
star in 2001 introduced a base-256 coding that is indicated by setting the high-order bit of the leftmost byte of a numeric field. GNU-tar and BSD-tar followed this idea.
This allows for file sizes much larger than 8GB.
Light Untar should check for this and return the correct decimal value.
In practice I don't believe there will be many instances where you'll have files that are larger than 8GB on iOS, but a more future proof solution would be nice.
The text was updated successfully, but these errors were encountered:
The historical limit of a file in a tar archive is 8GB. Light Untar for iOS is limited to files no greater than this. Light Untar also limits NSData representations to ~4GB.
For transparency sake, and per wikipedia
This allows for file sizes much larger than 8GB.
Light Untar should check for this and return the correct decimal value.
In practice I don't believe there will be many instances where you'll have files that are larger than 8GB on iOS, but a more future proof solution would be nice.
The text was updated successfully, but these errors were encountered: