diff --git a/src/Hex.php b/src/Hex.php
index e6d033f20ed094d24447791fe24840cd47192b98..bf3b63db0719d139b1cc125eef0182206de9312a 100644
--- a/src/Hex.php
+++ b/src/Hex.php
@@ -49,7 +49,7 @@ abstract class Hex implements EncoderInterface
             $c = $chunk[1] & 0xf;
             $b = $chunk[1] >> 4;
 
-            $hex .= pack(
+            $hex .= \pack(
                 'CC',
                 (87 + $b + ((($b - 10) >> 8) & ~38)),
                 (87 + $c + ((($c - 10) >> 8) & ~38))
@@ -77,7 +77,7 @@ abstract class Hex implements EncoderInterface
             $c = $chunk[1] & 0xf;
             $b = $chunk[1] >> 4;
 
-            $hex .= pack(
+            $hex .= \pack(
                 'CC',
                 (55 + $b + ((($b - 10) >> 8) & ~6)),
                 (55 + $c + ((($c - 10) >> 8) & ~6))