packedLength method

int packedLength(
  1. int dataUnits
)

Implementation

int packedLength(int dataUnits) => (dataUnits + 1) ~/ 2;