protected parseSection ( $hex, array $sections, boolean $octet = false ) : string | ||
$hex | string The full hex string. | |
$sections | array | An array of start and length (unless octet is true, then length is always 2). |
$octet | boolean | Whether this is for octet string form. |
return | string | The concatenated sections in upper-case. |