getByteCount method

int getByteCount (int inputs, int outputs)

Implementation

static int getByteCount(int inputs, int outputs) {
  return ((inputs * 148 * 4 + 34 * 4 * outputs + 10 * 4) / 4).ceil();
}