prettyByte function

String prettyByte(
  1. int byte
)

Implementation

String prettyByte(int byte) {
  return '${byte < 0 ? "-" : ""}0x${byte.abs().toRadixString(16).padLeft(2, "0")}';
}