public static function getByte(&$p)
    {
        $r = static::bytes2int($p{0});
        $p = static::binarySubstr($p, 1);

        return (int) $r;
    }
public static function getByte(&$p)
    {
        $r = static::bytes2int($p{0});
        $p = static::binarySubstr($p, 1);

        return (int) $r;
    }
public static function getByte ( & $ p ) { $ r = static :: bytes2int ( $ p { 0 } ) ; $ p = static :: binarySubstr ( $ p , 1 ) ; return ( int ) $ r ; }
Parse byte, and remove it.

@param &string $p Data
@return int
Parse byte and remove it .