summary.encode

Encodes a PokerHand summary that was obtained via hha.summary.

summary.encode
Parameters
summary (Object) the summary to encode
Returns
String: the custom base64 encoded string containing the summary

summary.decode

Decodes a PokerHand summary encoded via summary.encode.

summary.decode
Parameters
s (String) custom base64 encoded summary
Returns
Object: decoded summary