src/Hex/Reader.php
public static function high(string $data, int $offset = 0, $nibble = null): string
    {
        return unpack($nibble ? "H{$nibble}" : 'H', $data, $offset)[1];
    }
public static function high(string $data, int $offset = 0, $nibble = null): string
    {
        return unpack($nibble ? "H{$nibble}" : 'H', $data, $offset)[1];
    }
public static function high ( string $ data , int $ offset = 0 , $ nibble = null ) : string { return unpack ( $ nibble ? "H{$nibble}" : 'H' , $ data , $ offset ) [ 1 ] ; }
Read a hex string with high nibble first.

@param string $data
@param int    $offset
@param mixed  $nibble

@return string
Read a hex string with high nibble first .