]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/file_directories/binary/stack/class_StackFile.php
Continued:
[core.git] / framework / main / classes / file_directories / binary / stack / class_StackFile.php
index 7a41398a3db325905d210da9bde951d2d9f47846..f1ff7e47dd5eeb6d549252c82aece32af18f4da4 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Mxchange\CoreFramework\Filesystem\Stack;
 use Org\Mxchange\CoreFramework\Filesystem\Block;
 use Org\Mxchange\CoreFramework\Filesystem\File\BaseBinaryFile;
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\String\Util\StringUtils;
 
 // Import SPL stuff
 use \SplFileInfo;
@@ -77,7 +78,7 @@ class StackFile extends BaseBinaryFile implements Block {
                assert(!is_resource($value));
 
                // Encode/convert the value into a "binary format"
-               $encoded = $this->encodeData($value);
+               $encoded = StringUtils::encodeData($value);
 
                // Get a strong hash for the "encoded" data
                $hash = self::hash($encoded);