packetToSource function
Return a string with the packet's data in source form with comments
Implementation
String packetToSource(List<int> data) {
final writer = _Writer(data);
if (writer.writePacketHeader()) {
_FuncIdProcessor(writer).dispatch(data);
writer.writeRemainingBytes();
}
return writer.toString();
}