toHex method

String toHex([
  1. bool headersOnly = false
])

To Hex

Implementation

String toHex([bool headersOnly = false]) {
  return hex.encode(toBuffer(headersOnly));
}