+
+ /**
+ * Searches for next suitable gap the given length of data can fit in
+ * including padding bytes.
+ *
+ * @param $length Length of raw data
+ * @return $seekPosition Found next gap's seek position
+ */
+ public function searchNextGap ($length) {
+ // If the file is only gaps, no need to seek
+ if ($this->isFileOnlyGaps()) {
+ // The first empty block is the first one right after the header
+ return ($this->getHeaderSize() + 1);
+ } // END - if
+
+ // @TODO Unfinished
+ $this->partialStub('length=' . $length);
+ }