]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/filesystem/binary/class_BinaryFile.php
WIP:
[core.git] / framework / main / interfaces / filesystem / binary / class_BinaryFile.php
index 5dcd2c4f198eb2fc09cc0af8bc71132fedd0eedc..04bc74993a781a5721cbd209edaea0f0e83cc9d5 100644 (file)
@@ -110,6 +110,14 @@ interface BinaryFile extends Filesystem {
         */
        function getFileSize ();
 
+       /**
+        * Checks whether the abstracted file only contains gaps by counting all
+        * gaps' bytes together and compare it to total length.
+        *
+        * @return      $isGapsOnly             Whether the abstracted file only contains gaps
+        */
+       function isFileGapsOnly();
+
        /**
         * Searches for next suitable gap the given length of data can fit in
         * including padding bytes.