static int BASE_dataLength(int frameSize, int frameCount) { if (frameSize == 0) return 0; return frameSize * frameCount; }