pack method
Encodes this HLC into a string representation whose topological ordering is equivalent to that of the original HLC.
Implementation
String pack() {
final buffer = StringBuffer();
buffer.write(timestamp.toString().padLeft(15, '0'));
buffer.write(delimiter);
buffer.write(count.toRadixString(36).padLeft(5, '0'));
buffer.write(delimiter);
buffer.write(node);
return buffer.toString();
}