hexout function

String hexout(
  1. String comp
)

Correct hex component for output

Implementation

String hexout(String comp) => comp.length == 1 ? "0$comp" : comp;