decode static method

HVal decode(
  1. String type,
  2. String val
)

Implementation

static HVal decode(String type, String val) {
  if ("Bin" == type) return HBin(val);
  return HXStr._(type, val);
}