encode method

void encode(
  1. Packer p
)

Implementation

void encode(Packer p) {
  p.packListLength(2);
  p.packInt(value);
  p.packInt(total);
}