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
{{ message }}
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
SeregaMamonT edited this page Jan 22, 2013
·
9 revisions
Description
Volume interface should be implemented in class containing data which should be unpacked. This interface is one of two main interfaces that should be implemented if a new data storage required (based on a byte array, for example).
Methods
IReadOnlyAccess getReadOnlyAccess() throws IOException - returns IReadOnlyAccess object which suppports read only random access to data storage.
long getLength() - returns length of the data storage in bytes (it seems that currently length of the data requires only to validate that the parsing works in the proper way, so any value greater or equals to real data size will not do any harm for unpacking of the correct achive)
Archive getArchive() - returns back reference to Archive object representing this data storage.
Implementations
Currently, there are two implementations of this interface in the library: