/** * @return the total size of for the specified number of ranges, including the initial 2 byte * range count */ public static int getEncodedSize(int numberOfRanges) { return 2 + CellRangeAddress.getEncodedSize(numberOfRanges); }